]> granicus.if.org Git - strace/blob - tests/interactive_block.test
Remove XLAT_END
[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 # Copyright (c) 2017-2018 The strace developers.
7 # All rights reserved.
8 #
9 # SPDX-License-Identifier: GPL-2.0-or-later
10
11 . "${srcdir=.}/init.sh"
12
13 strace0="$STRACE"
14 for signo in 1 2 3 13 14 15; do
15         blocksig="../block_reset_raise_run $signo"
16         run_prog $blocksig ../umovestr
17         STRACE="$blocksig $strace0"
18         run_strace -I2 -echdir ../umovestr
19         match_diff "$LOG" "$srcdir/umovestr.expected"
20 done