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