Dmitry V. Levin
123d401508
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.
20 lines
304 B
Bash
Executable File
20 lines
304 B
Bash
Executable File
#!/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
|