4a329a0677
* tests/qual_fault-syscall.test: New test. * tests/qual_inject-error-signal-syscall.test: Likewise. * tests/qual_inject-retval-syscall.test: Likewise. * tests/qual_inject-signal-syscall.test: Likewise. * tests/Makefile.am (MISC_TESTS): Add them. * tests/qual_fault-syntax.test: Add checks for inject=SET:syscall= expression syntax. * tests/qual_inject-syntax.test: Likewise. * tests/qual_fault.test: Append $suffix to -e fault arguments, override $NAME with $name_override if the latter is set. * tests/qual_inject-error-signal.test: Append $suffix to -e inject arguments, override $NAME with $name_override if the latter is set. * tests/qual_inject-retval.test: Likewise. * tests/qual_inject-signal.test: Likewise.
12 lines
222 B
Bash
Executable File
12 lines
222 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check signal injection.
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
: ${suffix=}
|
|
[ -z "${name_override-}" ] || NAME="$name_override"
|
|
|
|
run_strace -a12 -echdir,exit_group -einject=chdir:signal=USR1"$suffix" \
|
|
../$NAME
|
|
match_diff
|