Commit 5ae5f745 authored by Paul E. McKenney's avatar Paul E. McKenney

torture: Drop log.long generation from torture.sh

Now that kvm.sh puts all the relevant details in the "log" file,
there is no need for torture.sh to generate a separate "log.long"
file.  This commit therefore drops this from torture.sh.
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent c679d90b
......@@ -203,11 +203,8 @@ function torture_one {
"$@" $boottag "$cur_bootargs" --datestamp "$ds/results-$curflavor" > $T/$curflavor.out 2>&1
retcode=$?
resdir="`grep '^Results directory: ' $T/$curflavor.out | tail -1 | sed -e 's/^Results directory: //'`"
if test -n "$resdir"
if test -z "$resdir"
then
cp $T/$curflavor.out $resdir/log.long
echo retcode=$retcode >> $resdir/log.long
else
cat $T/$curflavor.out | tee -a $T/log
echo retcode=$retcode | tee -a $T/log
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment