]> granicus.if.org Git - strace/blobdiff - tests/xetpgid.test
tests: factor out a part common to many simply organized test scripts
[strace] / tests / xetpgid.test
index 71817a2027f59ee6b4a626b1cb8a472c091b280b..07f4f9e80f81754cc5c53930062827e15b798d57 100755 (executable)
@@ -3,8 +3,4 @@
 # Check getpgid and setpgid syscalls decoding.
 
 . "${srcdir=.}/init.sh"
-
-run_prog > /dev/null
-run_strace -a11 -egetpgid,setpgid $args > "$OUT"
-match_diff "$LOG" "$OUT"
-rm -f "$OUT"
+run_strace_match_diff -a11 -e trace=getpgid,setpgid