git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668e4e4
)
tests/dns_forwarder: Check that the subprocess is still living
author
Garming Sam
<garming@catalyst.net.nz>
Thu, 7 Jul 2016 04:58:27 +0000
(16:58 +1200)
committer
Garming Sam
<garming@samba.org>
Tue, 6 Sep 2016 09:50:09 +0000
(11:50 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns_forwarder.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/dns_forwarder.py
b/python/samba/tests/dns_forwarder.py
index 1d598662a83222dcf064c196b8aeadecab7810dc..bef21f6bdaf682efabf89b875e6a35d79d6a5f81 100644
(file)
--- a/
python/samba/tests/dns_forwarder.py
+++ b/
python/samba/tests/dns_forwarder.py
@@
-193,6
+193,10
@@
class TestDnsForwarding(DNSTest):
except socket.error, e:
if e.errno in (errno.ECONNREFUSED, errno.EHOSTUNREACH):
continue
+
+ if p.returncode is not None:
+ self.fail("Toy server has managed to die already!")
+
return s
def tearDown(self):