strace/tests/execve.test
Dmitry V. Levin 4ff687bb31 execve: fix support of personalities with different word size
* execve.c (printargc): Do not assume that host and target pointers have
the same size.
* tests/execve.c: New file.
* tests/execve.expected: Likewise.
* tests/execve-v.expected: Likewise.
* tests/execve.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add execve.
(TESTS): Add execve.test.
(EXTRA_DIST): Add execve.expected and execve-v.expected.
* tests/.gitignore: Add execve.
2015-07-27 15:27:43 +00:00

14 lines
187 B
Bash
Executable File

#!/bin/sh
# Check execve syscall decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace $args
match_grep
run_strace -v $args
match_grep "$LOG" "$srcdir/${ME_%.test}-v.expected"
exit 0