Dmitry V. Levin
92e347b556
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.
19 lines
399 B
Bash
Executable File
19 lines
399 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Check fault injection along with signal injection.
|
|
#
|
|
# Copyright (c) 2017-2018 The strace developers.
|
|
# All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
. "${srcdir=.}/scno_tampering.sh"
|
|
|
|
: ${suffix=}
|
|
[ -z "${name_override-}" ] || NAME="$name_override"
|
|
|
|
run_strace -a12 -echdir,exit_group \
|
|
-einject=chdir:error=ENOENT:signal=USR1"$suffix" \
|
|
"../$NAME"
|
|
match_diff
|