]> granicus.if.org Git - strace/commit
tests: rewrite sched_xetattr.test from match_grep to match_diff
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 18 Feb 2017 09:58:52 +0000 (09:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 18 Feb 2017 09:58:52 +0000 (09:58 +0000)
commit6e9ad7be6125e6199103e28e81a0cd8770509535
tree369b67398408efc190cb55e076a69719b414bec2
parent55d126a8d7dfedf51a862c377db36ce674b478d1
tests: rewrite sched_xetattr.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" and "xlat/schedulers.h",
(sys_sched_getattr, sys_sched_setattr): New functions.
(main): Use them.  Update expected output.
* tests/adjtimex.test: Use run_strace_match_diff.
tests/sched_xetattr.c
tests/sched_xetattr.test