strace/tests/add_key.test
Eugene Syromyatnikov 7bce0e9fd4 tests: check decoding of add_key, keyctl, and request_key syscalls
* tests/add_key.c: New file.
* tests/keyctl.c: Likewise.
* tests/request_key.c: Likewise.
* tests/add_key.test: New test.
* tests/keyctl.test: Likewise.
* tests/request_key.test: Likewise.
* tests/.gitignore: Add add_key, keyctl, and request_key.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add add_key.test, keyctl.test, and request_key.test.
2016-10-03 23:50:57 +00:00

7 lines
105 B
Bash
Executable File

#!/bin/sh
# Check decoding of add_key syscall.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a30 -s12