Dmitry V. Levin
ae1b07bc2a
* tests/run_expect_termsig.c: New file. * tests/unblock_reset_raise.c: Likewise. * tests/termsig.test: New test. * tests/.gitignore: Add run_expect_termsig and unblock_reset_raise. * tests/Makefile.am (check_PROGRAMS): Likewise. (MISC_TESTS): Add termsig.test.
16 lines
344 B
Bash
Executable File
16 lines
344 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check termination signal forwarding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_expect_termsig="../run_expect_termsig 15"
|
|
unblock_reset_raise="../unblock_reset_raise 15"
|
|
|
|
run_prog $run_expect_termsig $unblock_reset_raise
|
|
STRACE="$run_expect_termsig $STRACE"
|
|
|
|
for i in 1 2 3 4; do
|
|
run_strace -I$i -enone -esignal=none $unblock_reset_raise
|
|
done
|