strace/tests/personality.test
Eugene Syromyatnikov 034b10936c tests: add personality variants with different xlat verbosity levels
* tests/personality-Xabbrev.c: New file.
* tests/personality-Xraw.c: Likewise.
* tests/personality-Xverbose.c: Likewise.
* tests/pure_executables.list: Add personality-Xabbrev,
personality-Xraw, and personality-Xverbose.
* tests/.gitignore: Likewise.
* tests/personality.c: Add handling of XLAT_RAW and XLAT_VERBOSE flags.
* tests/personality.test: Add support for accepting test arguments.
* tests/gen_tests.in (personality-Xabbrev, personality-Xraw,
personality-Xverbose): New tests.
2018-05-08 13:42:45 +00:00

10 lines
171 B
Bash
Executable File

#!/bin/sh
# Check personality syscall decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
run_strace -a20 -epersonality "$@" $args > "$EXP"
match_grep "$LOG" "$EXP"