strace/tests/interactive_block.test
Dmitry V. Levin 92e347b556 Add copyright headers to some files that lack them
We do our best to keep copyright headers up to date, yet
git history provides better information on this subject
and is more accurate than copyright headers.
2018-12-24 23:46:43 +00:00

21 lines
507 B
Bash
Executable File

#!/bin/sh
#
# Check that in interactive mode those signals that were blocked
# at strace startup will remain blocked.
#
# Copyright (c) 2017-2018 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later
. "${srcdir=.}/init.sh"
strace0="$STRACE"
for signo in 1 2 3 13 14 15; do
blocksig="../block_reset_raise_run $signo"
run_prog $blocksig ../umovestr
STRACE="$blocksig $strace0"
run_strace -I2 -echdir ../umovestr
match_diff "$LOG" "$srcdir/umovestr.expected"
done