22d997e538
* 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.
14 lines
191 B
Bash
Executable File
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
|