summaryrefslogtreecommitdiff
path: root/tests/dup.test
blob: 839906d8d702779390e757ddab27834f89b92adc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Check dup syscall decoding.

. "${srcdir=.}/init.sh"

run_prog > /dev/null
run_strace -edup -a8 $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"