Skip to content

Commit cbb44d9

Browse files
author
Joel Fernandes
committed
rcutorture: Fix issue with re-using old images on ARM64
On ARM64, when running with --configs '36*SRCU-P', I noticed that only 1 instance instead of 36 for starting. Fix it by checking for Image files, instead of bzImage which ARM does not seem to have. With this I see all 36 instances running at the same time in the batch. Tested-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes <[email protected]>
1 parent 9ffc09d commit cbb44d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \
7373
cp $T/KcList $resdir/ConfigFragment
7474

7575
base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`
76-
if test "$base_resdir" != "$resdir" && test -f $base_resdir/bzImage && test -f $base_resdir/vmlinux
76+
if test "$base_resdir" != "$resdir" && (test -f $base_resdir/bzImage || test -f $base_resdir/Image) && test -f $base_resdir/vmlinux
7777
then
7878
# Rerunning previous test, so use that test's kernel.
7979
QEMU="`identify_qemu $base_resdir/vmlinux`"

0 commit comments

Comments
 (0)