summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-13 13:35:53 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-13 13:44:30 +0300
commita74d79da279e59fa4826c5dca880e50774f44f1a (patch)
tree79f3e59d6fc73859111cd0d33f7a57228bbb4ccf /test
parent2c6952fef43301fbc757f4939ca6f377ca982493 (diff)
downloadconnman-a74d79da279e59fa4826c5dca880e50774f44f1a.tar.gz
connman-a74d79da279e59fa4826c5dca880e50774f44f1a.tar.bz2
connman-a74d79da279e59fa4826c5dca880e50774f44f1a.zip
test: Disable tethering test script takes exactly one argument
With one argument, len(sys.argv) is equal to 2.
Diffstat (limited to 'test')
-rwxr-xr-xtest/disable-tethering2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/disable-tethering b/test/disable-tethering
index d9c56a0b..a3d5908c 100755
--- a/test/disable-tethering
+++ b/test/disable-tethering
@@ -3,7 +3,7 @@
import sys
import dbus
-if (len(sys.argv) < 2):
+if (len(sys.argv) != 2):
print "Usage: %s type" % (sys.argv[0])
sys.exit(1)