diff options
Diffstat (limited to 'patches/strace/4.10/007_fix_bexecve64_test.patch')
-rw-r--r-- | patches/strace/4.10/007_fix_bexecve64_test.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/strace/4.10/007_fix_bexecve64_test.patch b/patches/strace/4.10/007_fix_bexecve64_test.patch new file mode 100644 index 00000000..09cd8ad1 --- /dev/null +++ b/patches/strace/4.10/007_fix_bexecve64_test.patch @@ -0,0 +1,18 @@ +--- 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 |