Przeglądaj źródła

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>
Paul E. McKenney 11 lat temu
rodzic
commit
9352ad1339
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      tools/testing/selftests/rcutorture/bin/kvm.sh

+ 2 - 1
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