Modified watch.stress-tests.bash script so that it correctly computes the sum of ALL tests passing and failing

This commit is contained in:
joel9001 2014-03-05 14:45:11 -05:00
parent bfba28e122
commit 23516f14fd

View file

@ -1,3 +1,3 @@
#!/bin/bash
watch "date ; awk '{ print \$1, \$3 }' < /tmp/run.stress-tests.log | tail -n 100 | sort -k 2 | uniq -c | sort -k 3 -r -s | head -n10; echo ; echo; echo 'Failing tests:'; grep FAILED /tmp/run.stress-tests.log | sort -k 3 -r -s"
watch "date ; awk '{ print \$1, \$3 }' < /tmp/stress-tests-log | sort -k 2 | uniq -c | sort -k 3 -r -s | head -n10; echo ; echo; echo 'Failing tests:'; grep FAILED /tmp/stress-tests-log | sort -k 3 -r -s"