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