s4:speedtest.py - fix script name in the help text
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 10 Nov 2010 12:37:46 +0000 (13:37 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 11 Nov 2010 08:12:25 +0000 (09:12 +0100)
source4/scripting/devel/speedtest.py

index da19a555b72828e1ac90ccc6ad692d83cc56d399..e579e3eb2e98cadc82680fcc8d17711b91c42fa1 100755 (executable)
@@ -29,8 +29,8 @@ from decimal import Decimal
 
 sys.path.append("bin/python")
 import samba
-samba.ensure_external_module("subunit", "subunit/python")
 samba.ensure_external_module("testtools", "testtools")
+samba.ensure_external_module("subunit", "subunit/python")
 
 import samba.getopt as options
 
@@ -48,7 +48,7 @@ import samba.tests
 from subunit.run import SubunitTestRunner
 import unittest
 
-parser = optparse.OptionParser("speedtest [options] <host>")
+parser = optparse.OptionParser("speedtest.py [options] <host>")
 sambaopts = options.SambaOptions(parser)
 parser.add_option_group(sambaopts)
 parser.add_option_group(options.VersionOptions(parser))