mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-09 01:30:39 -04:00
replace grep -r with 'find -type f | xargs'
This commit is contained in:
parent
1e7e0d2465
commit
36ce99d8a4
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ if [ $status != 0 ]; then
|
|||
else
|
||||
core_dumps="$(find $systest/ -name 'core*' -or -name '*.core' | sort | tr '\n' ' ')"
|
||||
assertion_failures=$(find $systest/ -name named.run | xargs grep "assertion failure" | wc -l)
|
||||
sanitizer_summaries=$(grep -r "SUMMARY: .*Sanitizer" $systest/ | wc -l)
|
||||
sanitizer_summaries=$(find $systest/ -type f | grep '^[-a-zA-Z0-9./_]*$' | xargs grep "SUMMARY: .*Sanitizer" | wc -l)
|
||||
if [ -n "$core_dumps" ]; then
|
||||
echoinfo "I:$systest:Test claims success despite crashes: $core_dumps"
|
||||
echofail "R:$systest:FAIL"
|
||||
|
|
|
|||
Loading…
Reference in a new issue