[master] 827f37596 localhost is not localhost on FreeBSD/12.1 vtest boxes

Nils Goroll nils.goroll at uplex.de
Thu Dec 12 14:11:06 UTC 2019


commit 827f375965ba50b9ee1d87b09c2f445a6e806d2e
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Dec 12 15:08:33 2019 +0100

    localhost is not localhost on FreeBSD/12.1 vtest boxes
    
    This test was failing before silently: It seems these vtest machines do
    not resolve localhost to the address passed as the localhost define to
    vtest, so use the latter in order to stabilize.

diff --git a/bin/varnishtest/tests/c00005.vtc b/bin/varnishtest/tests/c00005.vtc
index 78845f332..c52b06a3c 100644
--- a/bin/varnishtest/tests/c00005.vtc
+++ b/bin/varnishtest/tests/c00005.vtc
@@ -48,7 +48,7 @@ client c1 {
 
 varnish v1 -vcl+backend {
 	acl acl1 {
-		! "localhost";
+		! "${localhost}";
 		"0.0.0.0" / 0;
 		"::" / 0;
 	}


More information about the varnish-commit mailing list