]> granicus.if.org Git - strace/commit
tests: rewrite pipe2 syscall decoding check from match_grep to match_diff
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 11 Feb 2017 13:40:42 +0000 (13:40 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 11 Feb 2017 13:40:42 +0000 (13:40 +0000)
commit3c5dbffe61577d4c85978da31c08643be15d42e6
treec1104a55e2695b17ea39ee33a6389ff448ec7cda
parent649fe41781560a15fb6c89c2633a010ad7150fff
tests: rewrite pipe2 syscall decoding check from match_grep to match_diff

Unlike pipe.test that is based on match_grep, the new test
is based on match_diff and does more rigorous testing.

* tests/pipe2.c: New file.
* tests/pipe2.test: New test.
* tests/.gitignore: Add pipe2.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add pipe2.test.
tests/.gitignore
tests/Makefile.am
tests/pipe2.c [new file with mode: 0644]
tests/pipe2.test [new file with mode: 0755]