Lines Matching refs:file
28 file="$1"
36 if test -f "$file" -a -r "$file"
40 echo $title unreadable console output file: $file
43 if grep -Pq '\x00' < $file
47 cat /dev/null > $file.diags
54 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
56 nerrs=`grep --binary-files=text '!!!' $file |
68 grep --binary-files=text 'torture:.*ver:' $file |
96 if grep -q SUCCESS $file
101 echo " " $file
105 if grep -q "_HOTPLUG:" $file
108 echo " " $file
111 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
118 fi | tee -a $file.diags
120 …|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for' < $file |
125 print_warning "Assertion failure in $file $title"
128 n_badness=`grep -c Badness $file`
133 n_warn=`grep -v 'Warning: unable to open an initial console' $file | egrep -c 'WARNING:|Warn'`
138 n_bugs=`egrep -c 'BUG|Oops:' $file`
143 n_calltrace=`grep -c 'Call Trace:' $file`
148 n_lockdep=`grep -c =========== $file`
153 …s:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state' $file`
158 n_starves=`grep -c 'rcu_.*kthread starved for' $file`
164 cat $T.diags >> $file.diags
166 for i in $file.*.diags
170 cat $i >> $file.diags
173 if ! test -s $file.diags
175 rm -f $file.diags