Add back deleted function still in use, minor improvments to script

Change-Id: Ifc91c8af7658b56ed24acef506bfc28e581bb2ea
diff --git a/TestON/bin/test-summary b/TestON/bin/test-summary
index 7832f60..624fddd 100755
--- a/TestON/bin/test-summary
+++ b/TestON/bin/test-summary
@@ -3,12 +3,12 @@
 set -e -o pipefail
 
 if [ "$#" -lt 1 ]; then
-    ls -t ~/OnosSystemTest/TestON/logs/*/*y.txt | head -1 | xargs cat | grep -E "^|FAIL"
+    ls -t ~/OnosSystemTest/TestON/logs/*/*Summary.txt | head -1 | xargs cat | grep -E "^|FAIL"
     exit 1
 fi
 if [ "$1" = "-f" ]; then
     # NOTE: This is blocking
-    ls -t ~/OnosSystemTest/TestON/logs/*/*y.txt | head -1 | xargs tail -n+1 -f
+    ls -t ~/OnosSystemTest/TestON/logs/*/*Summary.txt | head -1 | xargs tail -n+1 -f
 else
     printf "usage: $(basename $0) [options]\n\n"
     printf "Simple command to print the latest test summary file.\n"