]> granicus.if.org Git - strace/commitdiff
tests: add more regex match checks
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 14 Apr 2017 17:47:21 +0000 (17:47 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 14 Apr 2017 17:47:21 +0000 (17:47 +0000)
* tests/qual_syscall.test: Add regex match checks.

tests/qual_syscall.test

index e33fd044dc56b300b7cb11756f804f96cd1be9e9..4c2a25a6189985e81d82cb331dc4570010780ba1 100755 (executable)
@@ -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