strace/tests/mq.test
Dmitry V. Levin 649fe41781 tests: rewrite mq.test from match_grep to match_diff
Unlike the previous edition of the test that was based on match_grep,
the new one is match_diff based and does more rigorous testing.

* tests/mq.c: Include <stdio.h>.
(NAME): New macro.
(main): Use it.  Print expected output.
* tests/mq.expected: Remove.
* tests/Makefile.am (EXTRA_DIST): Remove mq.expected.
* tests/mq.test: Use run_strace_match_diff.
2017-02-10 00:14:45 +00:00

7 lines
172 B
Bash
Executable File

#!/bin/sh
# Check decoding of mq_open, mq_getsetattr, and mq_unlink syscalls.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a28 -e trace=mq_getsetattr,mq_open,mq_unlink