strace/tests/times-fail.test
Elvira Khabirova 9d77b562d3 tests: add times-fail.test
* tests/times-fail.c: New file.
* tests/times-fail.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add times-fail.
(TESTS): Add times-fail.test.
* tests/.gitignore: Add times-fail.
2015-08-28 08:46:24 +00:00

14 lines
200 B
Bash
Executable File

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