From: Dmitry V. Levin Date: Fri, 14 Apr 2017 17:47:21 +0000 (+0000) Subject: tests: add more regex match checks X-Git-Tag: v4.17~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87607b9afcd9f581351321296f740690b55d04d9;p=strace tests: add more regex match checks * tests/qual_syscall.test: Add regex match checks. --- diff --git a/tests/qual_syscall.test b/tests/qual_syscall.test index e33fd044..4c2a25a6 100755 --- a/tests/qual_syscall.test +++ b/tests/qual_syscall.test @@ -36,7 +36,11 @@ run_strace -e 42 ../umovestr LC_ALL=C grep '^[[:alnum:]_]*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -for a in execve \!chdir all \!none \ +run_strace -e/ -e42 ../umovestr +LC_ALL=C grep '^[[:alnum:]_]*(' "$LOG" > /dev/null && + dump_log_and_fail_with "$STRACE $args unexpected output" + +for a in execve \!chdir /. all \!none \ file process \!desc \!ipc \!memory \!network \!signal; do check_output_mismatch \ "$pattern_abbrev_verbose" -e abbrev="$a" -e execve