projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6952f
)
test: Disable tethering test script takes exactly one argument
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 13 Sep 2012 10:35:53 +0000
(13:35 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 13 Sep 2012 10:44:30 +0000
(13:44 +0300)
With one argument, len(sys.argv) is equal to 2.
test/disable-tethering
patch
|
blob
|
history
diff --git
a/test/disable-tethering
b/test/disable-tethering
index
d9c56a0
..
a3d5908
100755
(executable)
--- 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)