tests: add more regex match checks

* tests/qual_syscall.test: Add regex match checks.
This commit is contained in:
Дмитрий Левин 2017-04-14 17:47:21 +00:00
parent d99a74da9b
commit 87607b9afc

View File

@ -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