]> granicus.if.org Git - strace/commit
tests: avoid SIGPIPE
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 3 Mar 2011 00:10:20 +0000 (00:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 Mar 2011 00:10:20 +0000 (00:10 +0000)
commitf9a84ef39fdbfe9636837c99beff52d62a7b8127
treef5b54c38e368cbab7e4d459cda07373fbe7b7bd0
parente689e04c102d02514af429925ef3b00caaacd058
tests: avoid SIGPIPE

* tests/ptrace_setoptions: Replace "grep -q" with "grep > /dev/null".
The former may result to strace being killed by SIGPIPE, which in
certain configuratons may lead to generation of a core file.
Suggested by Mike Frysinger.
tests/ptrace_setoptions