[3.0] 4b58c3e Use exit() rather than _exit() so we can dump gcov info.

Tollef Fog Heen tfheen at varnish-cache.org
Tue Nov 12 15:07:13 CET 2013


commit 4b58c3e622e0912f8d964a7377da894a4d2e640c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 10 09:43:51 2013 +0000

    Use exit() rather than _exit() so we can dump gcov info.

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 01a5fe2..76fe2b2 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -300,7 +300,7 @@ start_test(void)
 			(void)close(sfd);
 		retval = exec_file(jp->tst->filename, jp->tst->script,
 		    jp->tmpdir, jp->buf, jp->bufsiz);
-		_exit(retval);
+		exit(retval);
 	}
 	AZ(close(p[1]));
 



More information about the varnish-commit mailing list