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