diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-02 15:20:11 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-02 16:49:41 +0000 |
commit | 123d401508a17403c9cafaa79a4bd771bce37c7e (patch) | |
tree | f4b9559491b5a699f040ca6e22098c48c96e9671 /tests/sigaction.test | |
parent | aa4633c76e6fe34463cbe4acda113b7e7ab42642 (diff) | |
download | strace-123d401508a17403c9cafaa79a4bd771bce37c7e.tar.gz strace-123d401508a17403c9cafaa79a4bd771bce37c7e.tar.bz2 strace-123d401508a17403c9cafaa79a4bd771bce37c7e.tar.xz |
tests: rename all tests so that their names end in .test suffix
Due to automake limitations, some features work only for tests
that end in one of the suffixes listed in TEST_EXTENSIONS.
* tests/detach-running: Rename to detach-running.test.
* tests/detach-sleeping: Rename to detach-sleeping.test.
* tests/detach-stopped: Rename to detach-stopped.test.
* tests/net: Rename to net.test.
* tests/ptrace_setoptions: Rename to ptrace_setoptions.test.
* tests/qual_syscall: Rename to qual_syscall.test.
* tests/sigaction.sh: Rename to sigaction.test.
* tests/stat: Rename to stat.test.
* tests/strace-f: Rename to strace-f.test.
* tests/Makefile.am (TESTS): Update.
(LOG_COMPILER): Rename to TEST_LOG_COMPILER.
Diffstat (limited to 'tests/sigaction.test')
-rwxr-xr-x | tests/sigaction.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/sigaction.test b/tests/sigaction.test new file mode 100755 index 0000000..33732e0 --- /dev/null +++ b/tests/sigaction.test @@ -0,0 +1,19 @@ +#!/bin/sh + +# Check rt_sigaction decoding. + +. "${srcdir=.}/init.sh" + +check_prog awk + +./sigaction || + fail_ 'sigaction failed' + +args="-o $LOG -ert_sigaction ./sigaction" +$STRACE $args || + fail_ "strace $args failed" + +awk -f "$srcdir"/sigaction.awk $LOG || + { cat $LOG; fail_ 'unexpected output'; } + +exit 0 |