aboutsummaryrefslogtreecommitdiff
path: root/tests/socket_relay.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/socket_relay.py')
-rw-r--r--tests/socket_relay.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/socket_relay.py b/tests/socket_relay.py
index e5b3ccef..c7adcbfe 100644
--- a/tests/socket_relay.py
+++ b/tests/socket_relay.py
@@ -10,7 +10,8 @@ and then make a connection to another port, and do bidirectional
communication. We need to actually listen on both ports.
'''
-import os, sys, socket, time, threading
+import os, sys, socket, time, threading, signal
+from subprocess import Popen, PIPE, STDOUT
ports = [int(sys.argv[1]), int(sys.argv[2])]