]> granicus.if.org Git - strace/commit
tests: rewrite pipe syscall decoding check from match_grep to match_diff
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 12 Feb 2017 14:12:41 +0000 (14:12 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 12 Feb 2017 14:12:41 +0000 (14:12 +0000)
commitc10dd66fb735800a01021320ad4e41683c9408ea
treef7bceb8d61974a079ad8ca304384585f6495b3d9
parent3c5dbffe61577d4c85978da31c08643be15d42e6
tests: rewrite pipe syscall decoding check from match_grep to match_diff

* configure.ac (AC_CHECK_FUNCS): Remove pipe2.
* tests/pipe.c: Include <asm/unistd.h>, skip the test if [!__NR_pipe]
instead of [!HAVE_PIPE2].
(main): Do not call pipe2.
* tests/pipe.test: Skip the test if libc pipe wrapper does not use
pipe syscall, rewrite from match_grep to match_diff.
* tests/pipe.expected: Update expected output.
configure.ac
tests/pipe.c
tests/pipe.expected
tests/pipe.test