034b10936c
* 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.
10 lines
171 B
Bash
Executable File
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"
|