strace/tests/sethostname.test
Fei Jie a067b8d3b0 tests: add sethostname.test
* tests/sethostname.c: New file.
* tests/sethostname.test: New test.
* tests/.gitignore: Add sethostname.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add sethostname.test.
2016-04-01 23:34:33 +00:00

7 lines
101 B
Bash
Executable File

#!/bin/sh
# Check sethostname syscall decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a22