strace/tests/xattr.test
Dmitry V. Levin b60b2a5aa3 tests: add xattr.test
* tests/xattr.c: New file.
* tests/xattr.expected: Likewise.
* tests/xattr.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add xattr.
(TESTS): Add xattr.test.
(EXTRA_DIST): Add xattr.expected.
* tests/.gitignore: Add xattr.
2015-07-15 00:09:08 +00:00

12 lines
140 B
Bash
Executable File

#!/bin/sh
# Check *xattr syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -e removexattr,setxattr $args
match_grep
exit 0