crosstool-ng/patches/strace/4.10/007_fix_bexecve64_test.patch
Alexey Neyman ebf82e8215 Add versions 4.11..4.15 of strace.
Versions 4.13 and older marked as obsolete.
Identify the source of the patches 007..009.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-16 09:07:19 -08:00

21 lines
558 B
Diff

commit b704e8fbb4d9cf90ac56f3c889de5b779c444db4
(loosely based on)
--- 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