Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcutorture: Abbreviate kvm.sh summary lines

With the addition of the end-of-test state, it is not uncommon for the
kvm.sh summary lines to overflow 80 characters. This commit therefore
applies abbreviations in order to make the line fit into 80 characters
with high probability.

And yes, I did make heavy use of punched cards back in the day, so 80
columns it is for my xterms! ;-)

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>

+2 -2
+2 -2
tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh
··· 42 42 then 43 43 echo "$configfile ------- " $stopstate 44 44 else 45 - title="$configfile ------- $ngps grace periods" 45 + title="$configfile ------- $ngps GPs" 46 46 dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` 47 47 if test -z "$dur" 48 48 then ··· 50 50 else 51 51 ngpsps=`awk -v ngps=$ngps -v dur=$dur ' 52 52 BEGIN { print ngps / dur }' < /dev/null` 53 - title="$title ($ngpsps per second)" 53 + title="$title ($ngpsps/s)" 54 54 fi 55 55 echo $title $stopstate 56 56 nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } END {print sum}'`