]> 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 f14a900f54e8cb7cf99a2a020f4c71eb512bbd9c..806d8b61d9f5458c6549d3d9ce3a8656f2bdf4eb 100755 (executable)
@@ -3,10 +3,4 @@
 # Check decoding of sysinfo syscall
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-run_strace -a14 -esysinfo $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
-
-exit 0
+run_strace_match_diff -a14