torture: Add batch headers "--dryrun sched"
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Feb 2014 17:10:26 +0000 (09:10 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 00:02:42 +0000 (17:02 -0700)
This commit makes the output of "--dryrun sched" more user-friendly,
clearly indicating the batch starts.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm.sh

index 37a60ef70df3b5ab565d7b21e8dbc592795f3756..740676255c6aca45b6ee6e8ff42e3ab1430b7323 100644 (file)
@@ -379,7 +379,8 @@ then
 elif test "$dryrun" = sched
 then
        # Extract the test run schedule from the script.
-       egrep 'start batch|Starting build\.' $T/script |
+       egrep 'Start batch|Starting build\.' $T/script |
+               grep -v ">>" |
                sed -e 's/:.*$//' -e 's/^echo //'
        exit 0
 else
This page took 0.026249 seconds and 5 git commands to generate.