aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/util/dummy_clam.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/util/dummy_clam.py')
-rwxr-xr-xtest/functional/util/dummy_clam.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/util/dummy_clam.py b/test/functional/util/dummy_clam.py
index 8ef6ef476..6be20de57 100755
--- a/test/functional/util/dummy_clam.py
+++ b/test/functional/util/dummy_clam.py
@@ -8,6 +8,7 @@ try:
import SocketServer as socketserver
except:
import socketserver
+import signal
class MyTCPHandler(socketserver.BaseRequestHandler):
@@ -24,6 +25,7 @@ if __name__ == "__main__":
pid = os.fork()
if pid > 0:
sys.exit(0)
+ signal.alarm(5)
HOST = "localhost"