]> granicus.if.org Git - strace/blobdiff - tests/xetpriority.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / xetpriority.test
index 58e52032118f3cbb50608417c048ccb182e1a8b8..2c84ba418f42d0cf69edf6518433230e92ab0635 100755 (executable)
@@ -3,8 +3,4 @@
 # Check getpriority and setpriority syscalls decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-run_strace -egetpriority,setpriority -a29 $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+run_strace_match_diff -a29 -e trace=getpriority,setpriority