diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-02 02:38:10 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-02 02:38:10 (GMT) |
commit | ba77b5dab85edd90a138d2e3a5e5f80e182df75e (patch) | |
tree | 5e7ee5aaafe5054595ff0b8fb77885bf272ef7e9 /patches/strace/4.10/007_fix_bexecve64_test.patch | |
parent | c5fbb8716b5970e5d2860f576e535c5579d5b02a (diff) |
strace: Add strace-4.10 patches from debian
https://sources.debian.net/src/strace/4.10-3/debian/patches/
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
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 0000000..09cd8ad --- /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 |