summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-13 10:35:53 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-13 10:44:30 (GMT)
commita74d79da279e59fa4826c5dca880e50774f44f1a (patch)
tree79f3e59d6fc73859111cd0d33f7a57228bbb4ccf /test
parent2c6952fef43301fbc757f4939ca6f377ca982493 (diff)
downloadconnman-a74d79da279e59fa4826c5dca880e50774f44f1a.zip
connman-a74d79da279e59fa4826c5dca880e50774f44f1a.tar.gz
connman-a74d79da279e59fa4826c5dca880e50774f44f1a.tar.bz2
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 d9c56a0..a3d5908 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)