mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-29 00:58:51 +00:00
ba77b5dab8
https://sources.debian.net/src/strace/4.10-3/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
19 lines
491 B
Diff
19 lines
491 B
Diff
--- a/tests/bexecve.test
|
|
+++ b/tests/bexecve.test
|
|
@@ -24,13 +24,14 @@
|
|
}
|
|
|
|
pattern='Process [1-9][0-9]* detached'
|
|
+pattern_personality='\[ Process PID=[1-9][0-9]* runs in .* mode. \]'
|
|
|
|
LC_ALL=C grep -x "$pattern" "$LOG" > /dev/null || {
|
|
cat "$LOG"
|
|
fail_ "$what: unexpected output"
|
|
}
|
|
|
|
-if LC_ALL=C grep -v -x "$pattern" "$LOG" > /dev/null; then
|
|
+if LC_ALL=C grep -E -v -x "($pattern|$pattern_personality)" "$LOG" > /dev/null; then
|
|
cat "$LOG"
|
|
fail_ "$what: unexpected output"
|
|
fi
|