torture: Make kvm-find-errors.sh notice missing vmlinux file
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 18 Jan 2022 23:40:49 +0000 (15:40 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:25:41 +0000 (17:25 -0800)
commite31ccc1ddd2ad3e14f02a53cfa22e6b2b98c6dab
treed12cfe012f99f35ee4eb1769ea24d19542ec4d88
parentb376005eb3a8aedcde437d3d495418d63ce5451c
torture: Make kvm-find-errors.sh notice missing vmlinux file

Currently, an obtuse compiler diagnostic can fool kvm-find-errors.sh
into believing that the build was successful.  This commit therefore
adds a check for a missing vmlinux file.  Note that in the case of
repeated torture-test scenarios ("--configs '2*TREE01'"), the vmlinux
file will only be present in the first directory, that is, in TREE01
but not TREE01.2.

Link: https://lore.kernel.org/lkml/36bd91e4-8eda-5677-7fde-40295932a640@molgen.mpg.de/
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh