Skip to content

Commit 61251d6

Browse files
committed
torture: Set configfile variable to current scenario
The torture-test recheck logic fails to set the configfile variable to the current scenario, so this commit properly initializes this variable. This change isn't critical given that all errors for a given scenario follow that scenario's heading, but it is easier on the eyes to repeat it. And this repetition also prevents confusion as to whether a given message goes with the previous heading or the next one. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 4a5f133 commit 61251d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ do
3131
head -1 $resdir/log
3232
fi
3333
TORTURE_SUITE="`cat $i/../TORTURE_SUITE`"
34+
configfile=`echo $i | sed -e 's,^.*/,,'`
3435
rm -f $i/console.log.*.diags
3536
kvm-recheck-${TORTURE_SUITE}.sh $i
3637
if test -f "$i/qemu-retval" && test "`cat $i/qemu-retval`" -ne 0 && test "`cat $i/qemu-retval`" -ne 137

0 commit comments

Comments
 (0)