]> 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 11f2569fb4429344f71e37781b36e1c2c35ed316..c026ecbed755030880f2d3948cb4818a52a79ecb 100755 (executable)
@@ -3,12 +3,4 @@
 # Check readlink syscall decoding.
 
 . "${srcdir=.}/init.sh"
-
-syscall=${ME_%.test}
-OUT="$LOG.out"
-
-run_prog > /dev/null
-run_strace -xx -e $syscall $args > "$OUT"
-match_diff "$LOG" "$OUT"
-
-rm -f -- "$OUT"
+run_strace_match_diff -xx