strace/tests/adjtimex.test
Dmitry V. Levin f19251a808 tests: rewrite adjtimex.test from match_grep to match_diff
Unlike the previous edition of the test that was based on match_grep,
the new one is match_diff based and does more rigorous testing.

* tests/adjtimex.c: Include "xlat.h", "xlat/adjtimex_state.h",
and "xlat/adjtimex_status.h".
(main): Update expected output.
* tests/adjtimex.test: Use run_strace_match_diff.
2017-02-16 21:02:44 +00:00

7 lines
98 B
Bash
Executable File

#!/bin/sh
# Check adjtimex syscall decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a15