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
557aff1d
Commit
557aff1d
authored
Oct 24, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix these testcases to fail for the right reason.
parent
2a29afdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
m00000.vtc
bin/varnishtest/tests/m00000.vtc
+2
-2
m00001.vtc
bin/varnishtest/tests/m00001.vtc
+3
-3
No files found.
bin/varnishtest/tests/m00000.vtc
View file @
557aff1d
...
@@ -30,14 +30,14 @@ client c1 {
...
@@ -30,14 +30,14 @@ client c1 {
} -run
} -run
varnish v1 -badvcl {
varnish v1 -badvcl {
import debug from "${topbuild}/lib/libvmod_debug/.libs/libvmod_debug.so
.1
" ;
import debug from "${topbuild}/lib/libvmod_debug/.libs/libvmod_debug.so" ;
sub vcl_deliver {
sub vcl_deliver {
set resp.http.who = debug.author(jfk);
set resp.http.who = debug.author(jfk);
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so
.1
" ;
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_deliver {
sub vcl_deliver {
set resp.http.who = std.random("foo", "bar");
set resp.http.who = std.random("foo", "bar");
}
}
...
...
bin/varnishtest/tests/m00001.vtc
View file @
557aff1d
...
@@ -48,12 +48,12 @@ varnish v1 -cliok "vcl.list"
...
@@ -48,12 +48,12 @@ varnish v1 -cliok "vcl.list"
varnish v1 -cliok "debug.vmod"
varnish v1 -cliok "debug.vmod"
varnish v1 -badvcl {
varnish v1 -badvcl {
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so
.1
" ;
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so
.1
" ;
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so
.1
" ;
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_recv {
sub vcl_recv {
if (std == 2) {
if (std == 2) {
...
...
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