Home | History | Annotate | Download | only in bin

Lines Matching refs:file

4 # The "file" is a pathname on the local system, and "title" is
7 # The file must contain torture output, but can be interspersed
10 # Usage: parse-torture.sh file title
31 file="$1"
38 # check for presence of torture output file.
40 if test -f "$file" -a -r "$file"
44 echo $title unreadable torture output file: $file
50 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
52 nerrs=`grep --binary-files=text '!!!' $file | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } END {print sum}'`
58 grep --binary-files=text 'torture:.*ver:' $file | grep --binary-files=text -v '(null)' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' |
84 if grep -q SUCCESS $file
89 echo " " $file
93 if grep -q "_HOTPLUG:" $file
96 echo " " $file
99 echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version messages