Skip to content

Commit 92e5f7d

Browse files
committed
rcutorture: Make kvm-recheck.sh export TORTURE_SUITE
As it should, the kvm-recheck.sh script sets the TORTURE_SUITE bash variable based on the type of rcutorture test being run. However, it does not export it. Which is OK, at least until you try running kvm-again.sh on either a rcuscale or a refscale test, at which point you get false-positive "no success message, N successful version messages" errors. This commit therefore causes the kvm-recheck.sh script to export TORTURE_SUITE, suppressing these false positives. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 829a9d8 commit 92e5f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/rcutorture/bin/kvm-recheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ do
3030
resdir=`echo $i | sed -e 's,/$,,' -e 's,/[^/]*$,,'`
3131
head -1 $resdir/log
3232
fi
33-
TORTURE_SUITE="`cat $i/../torture_suite`"
33+
TORTURE_SUITE="`cat $i/../torture_suite`" ; export TORTURE_SUITE
3434
configfile=`echo $i | sed -e 's,^.*/,,'`
3535
rm -f $i/console.log.*.diags
3636
case "${TORTURE_SUITE}" in

0 commit comments

Comments
 (0)