This commit adds the command and arguments to the torture.sh log file, and
also outputs the results directory. This latter allows impatient users
to quickly find the results that are being generated by the current run.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
shift
done
+ds="`date +%Y.%m.%d-%H.%M.%S`-torture"
+startdate="`date`"
+starttime="`get_starttime`"
+
T=/tmp/torture.sh.$$
trap 'rm -rf $T' 0 2
mkdir $T
+echo " --- " $scriptname $args | tee -a $T/log
+echo " --- Results directory: " $ds | tee -a $T/log
+
# Calculate rcutorture defaults and apportion time
if test -z "$configs_rcutorture"
then
touch $T/failures
touch $T/successes
-ds="`date +%Y.%m.%d-%H.%M.%S`-torture"
-startdate="`date`"
-starttime="`get_starttime`"
-
# torture_one - Does a single kvm.sh run.
#
# Usage: