Remove use of global_loadparm in last Python script.
[kai/samba.git] / 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)