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