strace/tests/times.test
Eugene Syromyatnikov 7a036055af tests: add times.test
* tests/times.c: New file.
* tests/times.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add times.
(TESTS): Add times.test.
(times_LDADD): Define.
* tests/.gitignore: Add times.
2015-08-28 08:46:24 +00:00

14 lines
201 B
Bash
Executable File

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