]> granicus.if.org Git - strace/blobdiff - tests/alarm.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / alarm.test
index 6248c5afe7d6939ca29c49ca6ffa9916985807e1..267b22393e7976016737ffca61de17362f9e2b3d 100755 (executable)
@@ -3,9 +3,4 @@
 # Check alarm syscall decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-OUT="$LOG.out"
-run_strace -a10 -ealarm $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+run_strace_match_diff -a10