]> granicus.if.org Git - strace/blob - tests/interactive_block.test
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / interactive_block.test
1 #!/bin/sh
2
3 # Check that in interactive mode those signals that were blocked
4 # at strace startup will remain blocked.
5
6 . "${srcdir=.}/init.sh"
7
8 strace0="$STRACE"
9 for signo in 1 2 3 13 14 15; do
10         blocksig="../block_reset_raise_run $signo"
11         run_prog $blocksig ../umovestr
12         STRACE="$blocksig $strace0"
13         run_strace -I2 -echdir ../umovestr
14         match_diff "$LOG" "$srcdir/umovestr.expected"
15 done