strace/tests/sigaltstack.test
Elvira Khabirova 10020ae191 tests: add sigaltstack.test
* tests/sigaltstack.c: New file.
* tests/sigaltstack.expected: Likewise.
* tests/sigaltstack.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add sigaltstack.
(TESTS): Add sigaltstack.test.
(EXTRA_DIST): sigaltstack.expected.
* tests/.gitignore: Add sigaltstack.
2015-07-18 00:01:40 +00:00

12 lines
135 B
Bash
Executable File

#!/bin/sh
# Check sigaltstack syscall decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -e sigaltstack $args
match_diff
exit 0