selftest: make sure dns_hub.py exits on SIGINT
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Mar 2020 06:06:05 +0000 (07:06 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 27 Mar 2020 09:02:37 +0000 (09:02 +0000)
commit2d1d67ed725348b7a6bf8ea9f0a7554a198c1363
tree778d908d7b46f7a2d741b03c1e95b90a9c74091a
parent4d6864e08e5e7da282581c412f880e5d3fe7e0dd
selftest: make sure dns_hub.py exits on SIGINT

Otherwise we have a deadlock in the python threading
that prevents out EOF detection on stdin to work
if someone aborts 'make test' with strg+c.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/target/dns_hub.py