[master] c785de1 Explicitly set malloc storage in the regression test for #2530.

Geoff Simmons geoff at uplex.de
Sun Feb 25 13:48:11 UTC 2018


commit c785de16cbd96f20668f0b879c54db623f8c42f2
Author: Geoff Simmons <geoff at uplex.de>
Date:   Sun Feb 25 14:44:39 2018 +0100

    Explicitly set malloc storage in the regression test for #2530.
    
    Storage defaults to umem where libumem is available, as is usually
    the case on SunOS. So checking SMA.* stats was causing the test to
    fail on Solaris.

diff --git a/bin/varnishtest/tests/r02530.vtc b/bin/varnishtest/tests/r02530.vtc
index 27b24b2..dbdd4e6 100644
--- a/bin/varnishtest/tests/r02530.vtc
+++ b/bin/varnishtest/tests/r02530.vtc
@@ -30,7 +30,7 @@ server s1 {
 	sendhex 1f8b
 } -start
 
-varnish v1 -vcl+backend {
+varnish v1 -arg "-smalloc -sTransient=malloc" -vcl+backend {
 	sub vcl_recv {
 		if (req.url == "/pass") {
 			return (pass);


More information about the varnish-commit mailing list