test: Correctly check number of test script arguments
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 13 Sep 2012 08:32:05 +0000 (11:32 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 13 Sep 2012 10:44:17 +0000 (13:44 +0300)
commit2c6952fef43301fbc757f4939ca6f377ca982493
tree1bee47f97c246e86db575ba219a8bf6a1bc61171
parentb244baab93da9c18e2413c7f0c3fef46c778f39c
test: Correctly check number of test script arguments

len(sys.argv) gives the number of arguments including the
name of the command.

Fixes BMC#25722
test/enable-tethering