strace/tests/xattr.test
Dmitry V. Levin ea7b9dbcbd tests: extend test coverage of xattr family syscalls
* tests/xattr.c: Check decoding of all xattr family syscalls.
* tests/xattr.test: Use run_strace_match_diff.
* tests/xattr.expected: Remove.
* tests/Makefile.am (EXTRA_DIST): Remove it.
2016-05-10 22:25:23 +00:00

13 lines
225 B
Bash
Executable File

#!/bin/sh
# Check *xattr syscalls decoding.
. "${srcdir=.}/init.sh"
syscalls=
for n in getxattr setxattr listxattr removexattr; do
syscalls="$syscalls,${n},f${n},l${n}"
done
run_strace_match_diff -a22 -e trace=$syscalls