Commit cb212767 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

torture: Make kvm.sh "Test Summary" date be end of test



Currently, the "date" command producing the output on the kvm.sh "Test
Summary" line is executed at the beginning of the test, which produces a
date that is less than helpful to someone wanting to know the duration
of the test.  This commit therefore defers this command's execution to
the end of the test.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 106cc0d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -517,10 +517,12 @@ END {
		dump(first, i, batchnum);
}' >> $T/script

cat << ___EOF___ >> $T/script
cat << '___EOF___' >> $T/script
echo
echo
echo " --- `date` Test summary:"
___EOF___
cat << ___EOF___ >> $T/script
echo Results directory: $resdir/$ds
kcsan-collapse.sh $resdir/$ds
kvm-recheck.sh $resdir/$ds