mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'marka-remove-print0-run.sh' into 'main'
Use 'find ... -exec ... {} +' run.sh
See merge request isc-projects/bind9!5315
This commit is contained in:
commit
83b1d3b49b
1 changed files with 2 additions and 2 deletions
|
|
@ -252,7 +252,7 @@ get_core_dumps() {
|
|||
}
|
||||
|
||||
core_dumps=$(get_core_dumps | tr '\n' ' ')
|
||||
assertion_failures=$(find "$systest/" -name named.run -print0 | xargs -0 grep "assertion failure" | wc -l)
|
||||
assertion_failures=$(find "$systest/" -name named.run -exec grep "assertion failure" {} + | wc -l)
|
||||
sanitizer_summaries=$(find "$systest/" -name 'tsan.*' | wc -l)
|
||||
if [ -n "$core_dumps" ]; then
|
||||
status=1
|
||||
|
|
@ -287,7 +287,7 @@ elif [ "$assertion_failures" -ne 0 ]; then
|
|||
status=1
|
||||
SYSTESTDIR="$systest"
|
||||
echoinfo "I:$systest:$assertion_failures assertion failure(s) found"
|
||||
find "$systest/" -name 'tsan.*' -print0 | xargs -0 grep "SUMMARY: " | sort -u | cat_d
|
||||
find "$systest/" -name 'tsan.*' -exec grep "SUMMARY: " {} + | sort -u | cat_d
|
||||
elif [ "$sanitizer_summaries" -ne 0 ]; then
|
||||
status=1
|
||||
echoinfo "I:$systest:$sanitizer_summaries sanitizer report(s) found"
|
||||
|
|
|
|||
Loading…
Reference in a new issue