We didn't check the return status of system, making failures in a00009
go unnoticed. Fix this and fix a00009 to not fail when run
uninstalled.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3826
d4fa192b-c00b-0410-8231-
f00ffab90ce4
test "See that the VCL compiler works"
-shell "cd ../varnishd && ./varnishd -b 127.0.0.1:80 -C"
+shell "cd ../varnishd && ./varnishd -b 127.0.0.1:80 -C -n /tmp/__v1"
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
- (void)system(av[1]); /* XXX: assert ? */
+ assert(WEXITSTATUS(system(av[1])) == 0);
}
/**********************************************************************