#!/bin/sh
#
# Check termination signal forwarding.
#
# Copyright (c) 2017-2018 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later

. "./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
