Skip to content

Commit 3e4c07b

Browse files
committed
torture: make kvm-find-errors.sh check for compressed vmlinux files
Under some conditions, a given run's vmlinux file will be compressed, so that it is named vmlinux.xz rather than vmlinux. in such cases, kvm-find-errors.sh will complain about the nonexistence of vmlinux. This commit therefore causes kvm-find-errors.sh to check for vmlinux.xz as well as for vmlinux. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 1b929c0 commit 3e4c07b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ do
3636
then
3737
egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags
3838
files="$files $i.diags $i"
39-
elif ! test -f ${scenariobasedir}/vmlinux && ! test -f "${rundir}/re-run"
39+
elif ! test -f ${scenariobasedir}/vmlinux && ! test -f ${scenariobasedir}/vmlinux.xz && ! test -f "${rundir}/re-run"
4040
then
4141
echo No ${scenariobasedir}/vmlinux file > $i.diags
4242
files="$files $i.diags $i"

0 commit comments

Comments
 (0)