[master] ba2bd1b47 add timestamps to the std.ip test

Nils Goroll nils.goroll at uplex.de
Mon Nov 5 15:02:11 UTC 2018


commit ba2bd1b472023d2b461450b536a79b04c17f1de4
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Nov 5 15:57:14 2018 +0100

    add timestamps to the std.ip test

diff --git a/bin/varnishtest/tests/m00011.vtc b/bin/varnishtest/tests/m00011.vtc
index cd4980665..95517c7c8 100644
--- a/bin/varnishtest/tests/m00011.vtc
+++ b/bin/varnishtest/tests/m00011.vtc
@@ -9,14 +9,23 @@ varnish v1 -vcl+backend {
 	import std;
 
 	sub vcl_deliver {
+		std.timestamp("t0");
 		set resp.http.foo0 = std.ip("8.8.8.*", client.ip);
+		std.timestamp("8.8.8.*, client.ip");
 		set resp.http.foo1 = std.ip("9.9.9.*", server.ip);
+		std.timestamp("9.9.9.*, server.ip");
 		set resp.http.foo2 = std.ip("1.2.3.*", "127.0.0.2");
+		std.timestamp("1.2.3.*");
 		set resp.http.foo3 = std.ip("1.2.3.5", "127.0.0.3");
+		std.timestamp("1.2.3.5");
 		set resp.http.foo4 = std.ip("2001:db8::", "[::1]");
+		std.timestamp("2001:db8::");
 		set resp.http.foo5 = std.ip("2001::db8::", "[::1]");
+		std.timestamp("2001::db8::");
 		set resp.http.foo6 = std.ip("localhost", "0.0.0.0", resolve = false);
+		std.timestamp("localhost, resolve = false");
 		set resp.http.foo7 = std.ip("1.2.3.4", "0.0.0.0", resolve = false);
+		std.timestamp("1.2.3.4, resolve = false");
 	}
 } -start
 


More information about the varnish-commit mailing list