diff options
author | 2017-07-13 07:38:03 (GMT) | |
---|---|---|
committer | 2017-07-13 07:38:03 (GMT) | |
commit | 45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch) | |
tree | 8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/strace/4.10/007_fix_bexecve64_test.patch | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
parent | b32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff) |
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/strace/4.10/007_fix_bexecve64_test.patch')
-rw-r--r-- | packages/strace/4.10/007_fix_bexecve64_test.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/strace/4.10/007_fix_bexecve64_test.patch b/packages/strace/4.10/007_fix_bexecve64_test.patch new file mode 100644 index 0000000..6dc9b46 --- /dev/null +++ b/packages/strace/4.10/007_fix_bexecve64_test.patch @@ -0,0 +1,20 @@ +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 |