Remove use of global_loadparm in last Python script.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 24 Oct 2008 13:45:13 +0000 (15:45 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 24 Oct 2008 13:45:13 +0000 (15:45 +0200)
source4/scripting/bin/subunitrun

index e7737bdbecc354f91e8f0142f13a2af851fd3898..62717a78a96b2be984fbeaef617e3f39eef92cc0 100755 (executable)
@@ -43,7 +43,5 @@ args = parser.parse_args()[1]
 samba.tests.cmdline_loadparm = sambaopts.get_loadparm()
 samba.tests.cmdline_credentials = credopts.get_credentials(samba.tests.cmdline_loadparm)
 
 samba.tests.cmdline_loadparm = sambaopts.get_loadparm()
 samba.tests.cmdline_credentials = credopts.get_credentials(samba.tests.cmdline_loadparm)
 
-param.cvar.default_config = samba.tests.cmdline_loadparm
-
 runner = SubunitTestRunner()
 program = TestProgram(module=None, argv=[sys.argv[0]] + args, testRunner=runner)
 runner = SubunitTestRunner()
 program = TestProgram(module=None, argv=[sys.argv[0]] + args, testRunner=runner)