strace/tests/pipe2.test
Dmitry V. Levin 3c5dbffe61 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.
2017-02-11 13:40:42 +00:00

7 lines
98 B
Bash
Executable File

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