strace/tests/mq.test
Elvira Khabirova 422f793364 tests: add mq.test
* tests/mq.c: New file.
* tests/mq.expected: Likewise.
* tests/mq.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add mq.
(TESTS): Add mq.test.
(EXTRA_DIST): Add mq.expected.
(mq_LDADD): Add -lrt.
* tests/.gitignore: Add mq.
2015-08-28 08:46:23 +00:00

12 lines
181 B
Bash
Executable File

#!/bin/sh
# Check mq_open, mq_getsetattr, mq_unlink syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -v -e mq_getsetattr,mq_open,mq_unlink $args
match_grep
exit 0