Commit 2c667e5e authored by Paul E. McKenney's avatar Paul E. McKenney

torture: Expand last_ts variable in kvm-test-1-run.sh

The kvm-test-1-run.sh script says 'test -z "last_ts"' which always
evaluates to true (AKA zero) regardless of the value of the last_ts shell
variable.  This commit therefore inserts the needed dollar sign ("$").
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent b3f3886c
...@@ -227,7 +227,7 @@ then ...@@ -227,7 +227,7 @@ then
must_continue=yes must_continue=yes
fi fi
last_ts="`tail $resdir/console.log | grep '^\[ *[0-9]\+\.[0-9]\+]' | tail -1 | sed -e 's/^\[ *//' -e 's/\..*$//'`" last_ts="`tail $resdir/console.log | grep '^\[ *[0-9]\+\.[0-9]\+]' | tail -1 | sed -e 's/^\[ *//' -e 's/\..*$//'`"
if test -z "last_ts" if test -z "$last_ts"
then then
last_ts=0 last_ts=0
fi 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