r4571 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Wed Feb 17 13:57:25 CET 2010


Author: phk
Date: 2010-02-17 13:57:24 +0100 (Wed, 17 Feb 2010)
New Revision: 4571

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
Log:
Bail if argumets are set after varnishd is launched.



Modified: trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_varnish.c	2010-02-17 09:41:39 UTC (rev 4570)
+++ trunk/varnish-cache/bin/varnishtest/vtc_varnish.c	2010-02-17 12:57:24 UTC (rev 4571)
@@ -639,6 +639,7 @@
 			break;
 		if (!strcmp(*av, "-arg")) {
 			AN(av[1]);
+			AZ(v->pid);
 			vsb_cat(v->args, " ");
 			vsb_cat(v->args, av[1]);
 			av++;



More information about the varnish-commit mailing list