summaryrefslogtreecommitdiff
path: root/selftest/filter-subunit
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-28 07:40:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-28 09:12:39 +0200
commit36ffe4f467779cd282ed471f3bed8aee8a7c55bd (patch)
tree34c376c8216b31b4b7e13f779ed4c24296f89998 /selftest/filter-subunit
parent7ac4a710725d1e439179c3846525b3245dc3f5f6 (diff)
downloadsamba-36ffe4f467779cd282ed471f3bed8aee8a7c55bd.tar.gz
samba-36ffe4f467779cd282ed471f3bed8aee8a7c55bd.tar.bz2
samba-36ffe4f467779cd282ed471f3bed8aee8a7c55bd.zip
selftest: Abort early on SIGPIPE.
Diffstat (limited to 'selftest/filter-subunit')
-rwxr-xr-xselftest/filter-subunit1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/filter-subunit b/selftest/filter-subunit
index 3ec74c46c7..872d07fdb1 100755
--- a/selftest/filter-subunit
+++ b/selftest/filter-subunit
@@ -53,4 +53,5 @@ msg_ops = subunithelper.FilterOps(out, opts.prefix, expected_failures,
try:
sys.exit(subunithelper.parse_results(msg_ops, statistics, sys.stdin))
except subunithelper.ImmediateFail:
+ sys.stdout.flush()
sys.exit(1)