]> granicus.if.org Git - strace/blob - tests/execve.test
tests: add a list of executables without side effects
[strace] / tests / execve.test
1 #!/bin/sh
2
3 # Check execve syscall decoding.
4
5 . "${srcdir=.}/init.sh"
6
7 check_prog grep
8 run_prog > /dev/null
9 run_strace -eexecve $args > "$EXP"
10
11 # Filter out execve() call made by strace.
12 grep -F test.execve < "$LOG" > "$OUT"
13 match_diff "$OUT" "$EXP"
14
15 rm -f "$EXP" "$OUT"