summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-26 17:10:26 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-05-14 00:02:42 (GMT)
commit9352ad13391d8948fa919b97ed5ad68c96378f92 (patch)
treea9e6cbd4a5e5b38311ef03191fbeff6ac3eab8b5 /tools
parentf7ff6e6cf508779c64c5624e1ba0b7fde5036da1 (diff)
downloadlinux-9352ad13391d8948fa919b97ed5ad68c96378f92.tar.xz
torture: Add batch headers "--dryrun sched"
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/rcutorture/bin/kvm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index 37a60ef..7406762 100644
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -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