11 lines
165 B
Plaintext
11 lines
165 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Check dup2 syscall decoding.
|
||
|
|
||
|
. "${srcdir=.}/init.sh"
|
||
|
|
||
|
run_prog > /dev/null
|
||
|
run_strace -edup2 -a13 $args > "$OUT"
|
||
|
match_diff "$LOG" "$OUT"
|
||
|
rm -f "$OUT"
|