r3989 - branches/2.0/varnish-cache/bin/varnishtest
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Mon Mar 23 13:18:21 CET 2009
Author: tfheen
Date: 2009-03-23 13:18:21 +0100 (Mon, 23 Mar 2009)
New Revision: 3989
Modified:
branches/2.0/varnish-cache/bin/varnishtest/vtc.c
Log:
Merge r3898: Fix compilation problem on Darwin
Modified: branches/2.0/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishtest/vtc.c 2009-03-23 12:10:23 UTC (rev 3988)
+++ branches/2.0/varnish-cache/bin/varnishtest/vtc.c 2009-03-23 12:18:21 UTC (rev 3989)
@@ -238,16 +238,17 @@
static void
cmd_shell(CMD_ARGS)
{
-
(void)priv;
(void)cmd;
+ int r;
if (av == NULL)
return;
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
- assert(WEXITSTATUS(system(av[1])) == 0);
+ r = system(av[1]);
+ assert(WEXITSTATUS(r) == 0);
}
/**********************************************************************
More information about the varnish-commit
mailing list