summaryrefslogtreecommitdiff
path: root/py/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/config/TestUtil.py')
-rw-r--r--py/config/TestUtil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/config/TestUtil.py b/py/config/TestUtil.py
index 361a2e3ed68..26ea39bb364 100644
--- a/py/config/TestUtil.py
+++ b/py/config/TestUtil.py
@@ -68,6 +68,8 @@ for o, a in opts:
if o == "--debug":
debug = 1
if o == "--protocol":
+ if a not in ( "tcp", "ssl"):
+ usage()
protocol = a
if o == "--compress":
compress = 1