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
cd5eb550
Commit
cd5eb550
authored
Feb 19, 2020
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make this test do a little bit more work than just not panic
parent
b797261c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
r01768.vtc
bin/varnishtest/tests/r01768.vtc
+6
-3
No files found.
bin/varnishtest/tests/r01768.vtc
View file @
cd5eb550
...
...
@@ -6,14 +6,17 @@ server s1 {
} -start
varnish v1 -vcl+backend {
sub vcl_
recv
{
sub vcl_
deliver
{
if (req.http.foo_bar == req.http.foo-bar) {
set req.http.foo_bar = "xxx";
set resp.http.foo = "xxx";
} else {
set resp.http.foo = "yyy";
}
}
} -start
client c1 {
txreq
txreq
-hdr "foo_bar: 1" -hdr "foo-bar: 2"
rxresp
expect resp.http.foo == yyy
} -run
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