[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: [master] adf520d (re)add the testcase for #1212
From: Poul-Henning Kamp <phk () varnish-cache ! org>
Date: 2012-10-25 8:12:40
Message-ID: E1TRIYS-0002dK-Bv () project ! varnish-software ! com
[Download RAW message or body]
commit adf520dfad0e71f731f7f2b0940d631d1f4a3e78
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Thu Oct 25 08:12:00 2012 +0000
(re)add the testcase for #1212
Submitted by: Federico G. Schwindt
diff --git a/bin/varnishtest/tests/r01212.vtc b/bin/varnishtest/tests/r01212.vtc
new file mode 100644
index 0000000..ca8d5379
--- /dev/null
+++ b/bin/varnishtest/tests/r01212.vtc
@@ -0,0 +1,9 @@
+varnishtest "#1212 - Vmod with HEADER argument given a STRING asserts the VCL compiler"
+
+varnish v1 -errvcl {Wrong argument type. Expected HEADER. Got STRING.} {
+ import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so";
+ backend b { .host = "127.0.0.1"; }
+ sub vcl_recv {
+ std.collect("foo");
+ }
+}
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic