From: Patrik Flykt Date: Thu, 13 Sep 2012 10:35:53 +0000 (+0300) Subject: test: Disable tethering test script takes exactly one argument X-Git-Tag: 1.7~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a74d79da279e59fa4826c5dca880e50774f44f1a;p=platform%2Fupstream%2Fconnman.git test: Disable tethering test script takes exactly one argument With one argument, len(sys.argv) is equal to 2. --- 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)