strace/tests/sysinfo.test
Elvira Khabirova 22d997e538 tests: add sysinfo.test
* tests/sysinfo.c: New file.
* tests/sysinfo.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add sysinfo.
(TESTS): Add sysinfo.test.
* tests/.gitignore: Add sysinfo.
2015-08-28 08:46:23 +00:00

14 lines
191 B
Bash
Executable File

#!/bin/sh
# Check decoding of sysinfo syscall
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -esysinfo $args > "$OUT"
match_diff "$OUT" "$LOG"
rm -f "$OUT"
exit 0