]> granicus.if.org Git - strace/blobdiff - tests/dup.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / dup.test
index 839906d8d702779390e757ddab27834f89b92adc..1dc19198a5b813bac65bb9aa84c8ed7e930b0552 100755 (executable)
@@ -3,8 +3,4 @@
 # Check dup syscall decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-run_strace -edup -a8 $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+run_strace_match_diff -a8