strace/tests/mlock.test
Fei Jie b45a1e78e3 tests: add mlock.test
* tests/mlock.c: New file.
* tests/mlock.test: New test.
* tests/.gitignore: Add mlock.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add mlock.test.
2016-04-27 11:11:12 +00:00

7 lines
131 B
Bash
Executable File

#!/bin/sh
# Check mlock and munlock syscalls decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -e trace=mlock,munlock -a20