]> err.no Git - varnish/commit
Remove the "magic" StartChild, StopChild and LoadVCL test cases. Instead,
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Jun 2007 11:26:09 +0000 (11:26 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Jun 2007 11:26:09 +0000 (11:26 +0000)
commitb639f4911c2543a85f0233b3d27cb9ad7376d895
treedee1db723870786283ad50f59d92e035d113b13f
parentb9bfecc6e9824a1ab0bd8759242010f06edb0c6a
Remove the "magic" StartChild, StopChild and LoadVCL test cases.  Instead,
Case.pm now has init() and fini() (which can of course be overloaded by
individual test classes) which start / stop the child, and load a VCL
script if the particular test class being run provides one.  In addition,
fini() will revert to the initial VCL script ("boot") if a custom script
was loaded by init().

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1512 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-tools/regress/lib/Varnish/Test.pm
varnish-tools/regress/lib/Varnish/Test/Case.pm
varnish-tools/regress/lib/Varnish/Test/Case/LoadVCL.pm [deleted file]
varnish-tools/regress/lib/Varnish/Test/Case/StartChild.pm [deleted file]
varnish-tools/regress/lib/Varnish/Test/Case/StopChild.pm [deleted file]
varnish-tools/regress/lib/Varnish/Test/Case/Ticket056.pm
varnish-tools/regress/lib/Varnish/Test/Case/Ticket102.pm