Forum OpenACS Q&A: Re: Loading test procs even if parameter is disabled

Collapse
Posted by Dave Bauer on
So it looks like there is no code that ever sets load_tests but for some reason its still set as true by the tcl proc and the tests are loaded. This might affect memory usage of the Tcl interpreters slightly and is definitely a bad idea on production sites due to potential security issues and just a bad idea.
Collapse
Posted by Dave Bauer on
OK.

It was checking if acs-automated-testing package was enabled. I guess that is one way to do it, but the parameter enabled_p exists in acs-automated-testing so checking it seems a reasonable thing to do.

Collapse
Posted by Brian Fenton on
Hey Dave

great sleuthing there. When you're done, would mind listing all the changes you made? I've got a system or 2 that I'd love to see sped up.

thanks!
Brian