Dmitry V. Levin
4ff687bb31
* 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.
14 lines
187 B
Bash
Executable File
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
|