]> granicus.if.org Git - strace/blobdiff - tests/dup3.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / dup3.test
index 61fc16e19ed821ebfccc81ab3c03b390909e75b3..293f78f9fd4e08214ddd26af71dd8f3bf414efe3 100755 (executable)
@@ -3,9 +3,4 @@
 # Check dup3 syscall decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-OUT="$LOG.out"
-run_strace -edup3 -a24 $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+run_strace_match_diff -a24