[master] 724ce35 enable strict jemalloc checking for varnishtest

Nils Goroll nils.goroll at uplex.de
Mon Sep 12 12:13:10 CEST 2016


commit 724ce352d0b19cd3d6721035e5746282e9906219
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Sep 12 11:53:08 2016 +0200

    enable strict jemalloc checking for varnishtest

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 90f5b4f..ce547ae 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -398,6 +398,11 @@ i_mode(void)
 	AN(vmod_path);
 	free(topbuild);
 	VSB_destroy(&vsb);
+
+	/*
+	 * strict jemalloc checking
+	 */
+	AZ(putenv("MALLOC_CONF=abort:true,redzone:true,junk:true"));
 }
 
 /**********************************************************************



More information about the varnish-commit mailing list