strace/tests/xattr-strings.test
Gabriel Laskar 2aa03c2af6 tests: test for correct ellipsis with -s in xattr
* tests/xattr-strings.c: New file.
* tests/xattr-strings.test: New test.
* tests/.gitignore: Add xattr-string.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add xattr-string.test.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
2016-12-22 23:11:02 +00:00

8 lines
148 B
Bash
Executable File

#!/bin/sh
# Check *xattr syscalls decoding when limiting string size.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a22 -s 4 -e trace=fsetxattr