Lines Matching refs:file
15 file="$1"
23 if test -f "$file" -a -r "$file"
27 echo $title unreadable console output file: $file
30 if grep -Pq '\x00' < $file
34 cat /dev/null > $file.diags
41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
43 nerrs=`grep --binary-files=text '!!!' $file |
55 grep --binary-files=text 'torture:.*ver:' $file |
83 if grep -q SUCCESS $file
88 echo " " $file
92 if grep -q "_HOTPLUG:" $file
95 echo " " $file
98 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
105 fi | tee -a $file.diags
107 …|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for' < $file |
113 print_warning "Assertion failure in $file $title"
116 n_badness=`grep -c Badness $file`
121 n_warn=`grep -v 'Warning: unable to open an initial console' $file | egrep -c 'WARNING:|Warn'`
126 n_bugs=`egrep -c 'BUG|Oops:' $file`
131 n_calltrace=`grep -c 'Call Trace:' $file`
136 n_lockdep=`grep -c =========== $file`
141 …s:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state' $file`
146 n_starves=`grep -c 'rcu_.*kthread starved for' $file`
152 cat $T.diags >> $file.diags
154 for i in $file.*.diags
158 cat $i >> $file.diags
161 if ! test -s $file.diags
163 rm -f $file.diags