r3889 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Thu Mar 5 23:28:47 CET 2009
Author: phk
Date: 2009-03-05 23:28:47 +0100 (Thu, 05 Mar 2009)
New Revision: 3889
Modified:
trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
Log:
Expect zero exit code from manager
Modified: trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2009-03-05 22:27:43 UTC (rev 3888)
+++ trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2009-03-05 22:28:47 UTC (rev 3889)
@@ -326,7 +326,7 @@
AZ(close(v->fds[0]));
r = wait4(v->pid, &status, 0, NULL);
vtc_log(v->vl, 2, "R %d Status: %04x", r, status);
- if (WIFEXITED(status) && WEXITSTATUS(status) == 2)
+ if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
return;
vtc_log(v->vl, 0, "Bad exit code: %04x sig %x exit %x core %x",
status, WTERMSIG(status), WEXITSTATUS(status),
More information about the varnish-commit
mailing list