]> granicus.if.org Git - strace/blobdiff - tests/fchmod.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / fchmod.test
index e8fe393ed5c6ad50317c44ad0f597e7f23a9054b..32ad456cf5d73512e4eb1efef1f9210c46f01045 100755 (executable)
@@ -1,10 +1,6 @@
 #!/bin/sh
 
-. "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-run_strace -a16 -efchmod $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+# Check fchmod syscall decoding.
 
-exit 0
+. "${srcdir=.}/init.sh"
+run_strace_match_diff -a16