[master] 92d5f76 More code coverage

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 16 21:58:18 CET 2015


commit 92d5f769d5bae704a7a13c105e4b0a7ca3a33b17
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 16 20:56:07 2015 +0000

    More code coverage

diff --git a/bin/varnishtest/tests/v00038.vtc b/bin/varnishtest/tests/v00038.vtc
index 7fb006d..39fde28 100644
--- a/bin/varnishtest/tests/v00038.vtc
+++ b/bin/varnishtest/tests/v00038.vtc
@@ -71,3 +71,18 @@ varnish v1 -errvcl "Expected '{' or name of probe, got" {
 		.probe = "NONE";
 	}
 }
+
+varnish v1 -errvcl "Field 'port' redefined at:" {
+	backend b1 {
+		.host = "127.0.0.1";
+		.port = "NONE";
+		.port = "NONE";
+	}
+}
+
+varnish v1 -errvcl "Unknown field:" {
+	backend b1 {
+		.host = "127.0.0.1";
+		.fourscoreandsevenyearsago = "NONE";
+	}
+}



More information about the varnish-commit mailing list