]> 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 77ec2f14cf0b622070a54b65352e0dc675d2875f..70e561a1e69d58d0e8a711735db6e416e5913b8c 100755 (executable)
@@ -3,11 +3,4 @@
 # Check chmod syscall decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-OUT="$LOG.out"
-run_strace -a28 -echmod $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
-
-exit 0
+run_strace_match_diff -a28