]> granicus.if.org Git - strace/blobdiff - tests/getdents64.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / getdents64.test
index 9de6e4fee2491f5568aee6b5c8c6afa636644d3b..401cfc7cf2d4a5a58c9cf6391e6f6b5e2097463e 100755 (executable)
@@ -5,12 +5,4 @@
 . "${srcdir=.}/init.sh"
 
 rm -rf -- "$LOG".dir
-run_prog > /dev/null
-
-OUT="$LOG.out"
-run_strace -a24 -vegetdents64 $args > "$OUT"
-
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
-
-exit 0
+run_strace_match_diff -a24 -v