7a036055af
* 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.
14 lines
201 B
Bash
Executable File
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
|