strace/tests/sigreturn.test
Dmitry V. Levin 645eb6405b tests: rewrite sigreturn syscall decoding check from match_grep to match_diff
Unlike the former test that was based on match_grep,
the new one uses match_diff and does more rigorous testing.

* tests/sigreturn.c: Rewrite.
* tests/sigreturn.test: Likewise.
2017-03-13 15:22:51 +00:00

7 lines
114 B
Bash
Executable File

#!/bin/sh
# Check decoding of sigreturn syscall.
. "${srcdir=.}/init.sh"
run_strace_match_diff -esignal='!USR1'