summaryrefslogtreecommitdiff
path: root/packages/strace/4.10/0006-fix_bexecve64_test.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
committerAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
commit98bc4decdeab1361bdc585c86591718fb08c8ffb (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/strace/4.10/0006-fix_bexecve64_test.patch
parent2a1935f3ad41d360dd3d96a1b0486083293651dd (diff)
Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/strace/4.10/0006-fix_bexecve64_test.patch')
-rw-r--r--packages/strace/4.10/0006-fix_bexecve64_test.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/strace/4.10/0006-fix_bexecve64_test.patch b/packages/strace/4.10/0006-fix_bexecve64_test.patch
new file mode 100644
index 0000000..f5b255b
--- /dev/null
+++ b/packages/strace/4.10/0006-fix_bexecve64_test.patch
@@ -0,0 +1,24 @@
+commit b704e8fbb4d9cf90ac56f3c889de5b779c444db4
+(loosely based on)
+---
+ tests/bexecve.test | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- 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