strace/tests/caps-abbrev.test
Eugene Syromyatnikov aece0f417f tests: check non-verbose capget/capset output
* tests/caps-abbrev.awk: New file.
* tests/caps-abbrev.c: Likewise.
* tests/caps-abbrev.test: New test.
* tests/.gitignore: Add caps-abbrev.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add caps-abbrev.test.
(EXTRA_DIST): Add caps-abbrev.awk.
2016-10-29 02:54:01 +03:00

12 lines
178 B
Bash
Executable File

#!/bin/sh
# Check capget/capset syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -a 19 -e trace=capget,capset -e verbose=\!capget,capset $args
match_awk
exit 0