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