Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6434572b
Commit
6434572b
authored
Oct 24, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More badvcl->errvcl conversions.
Now only 100 more to go.
parent
d65ee240
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
c00041.vtc
bin/varnishtest/tests/c00041.vtc
+1
-1
c00052.vtc
bin/varnishtest/tests/c00052.vtc
+2
-2
c00053.vtc
bin/varnishtest/tests/c00053.vtc
+1
-1
m00000.vtc
bin/varnishtest/tests/m00000.vtc
+2
-2
m00003.vtc
bin/varnishtest/tests/m00003.vtc
+1
-1
m00006.vtc
bin/varnishtest/tests/m00006.vtc
+1
-1
m00008.vtc
bin/varnishtest/tests/m00008.vtc
+1
-1
No files found.
bin/varnishtest/tests/c00041.vtc
View file @
6434572b
...
...
@@ -92,7 +92,7 @@ client c1 {
expect resp.bodylen == 22
} -run
varnish v1 -
badvcl
{
varnish v1 -
errvcl {'purge': not a valid action in method 'vcl_recv'.}
{
backend s1 { .host = "${s1_addr}"; }
sub vcl_recv { if (req.http.purge == "yes") { purge; } }
}
bin/varnishtest/tests/c00052.vtc
View file @
6434572b
...
...
@@ -15,14 +15,14 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set vcc_allow_inline_c false"
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Inline-C not allowed}
{
backend default {
.host = "${s1_sock}";
}
C{ getpid(); }C
}
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Inline-C not allowed}
{
backend default {
.host = "${s1_sock}";
}
...
...
bin/varnishtest/tests/c00053.vtc
View file @
6434572b
...
...
@@ -13,7 +13,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set vcc_unsafe_path off"
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Include path is unsafe}
{
backend default {
.host = "${s1_sock}";
}
...
...
bin/varnishtest/tests/m00000.vtc
View file @
6434572b
...
...
@@ -29,14 +29,14 @@ client c1 {
expect resp.http.bar == "foo"
} -run
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Wrong enum value. Expected one of:}
{
import debug from "${topbuild}/lib/libvmod_debug/.libs/libvmod_debug.so" ;
sub vcl_deliver {
set resp.http.who = debug.author(jfk);
}
}
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Wrong argument type. Expected REAL. Got STRING.}
{
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_deliver {
set resp.http.who = std.random("foo", "bar");
...
...
bin/varnishtest/tests/m00003.vtc
View file @
6434572b
...
...
@@ -26,6 +26,6 @@ client c1 {
expect resp.http.bar == "foo"
} -run
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Expected 'from path...'}
{
import std to;
}
bin/varnishtest/tests/m00006.vtc
View file @
6434572b
...
...
@@ -27,7 +27,7 @@ client c1 {
expect resp.bodylen == 1
} -run
varnish v1 -
badvcl
{
varnish v1 -
errvcl {'beresp.http.bar': Not available in method 'vcl_recv'}
{
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
backend b { .host = "127.0.0.1"; }
...
...
bin/varnishtest/tests/m00008.vtc
View file @
6434572b
...
...
@@ -11,7 +11,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set vcc_unsafe_path off"
varnish v1 -
badvcl
{
varnish v1 -
errvcl {'import ... from path...' not allowed.}
{
backend default { .host = "${s1_sock}"; }
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment