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
ab648c84
Commit
ab648c84
authored
Sep 24, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminated varnishd from these tests
parent
b2075031
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
23 deletions
+2
-23
a00015.vtc
bin/varnishtest/tests/a00015.vtc
+1
-3
a00018.vtc
bin/varnishtest/tests/a00018.vtc
+1
-20
No files found.
bin/varnishtest/tests/a00015.vtc
View file @
ab648c84
...
...
@@ -12,9 +12,7 @@ server s1 {
txresp -hdr "Content-Type: text/plain" -body response
} -start
varnish v1 -vcl+backend {} -start -cliok "param.set debug +syncvsl"
client c1 {
client c1 -connect ${s1_sock} {
txreq -req POST -hdr "Content-Type: text/plain" -body request
# First, HTTP checks
...
...
bin/varnishtest/tests/a00018.vtc
View file @
ab648c84
...
...
@@ -8,28 +8,9 @@ server s1 {
txresp -hdr "Bar: ${bar}"
} -start
varnish v1 -vcl {
backend default {
.host = "${s1_addr}";
.port = "${s1_port}";
}
sub vcl_deliver {
if (resp.http.Bar == "${bar}") {
set resp.http.Baz = "${baz}";
}
}
} -start
client c1 {
client c1 -connect ${s1_sock} {
txreq -hdr "Foo: ${foo}"
rxresp
expect resp.status == 200
expect resp.http.Bar == "${bar}"
expect resp.http.Baz == "${baz}"
} -run
shell {
touch ${tmpdir}/tst
rm ${tmpdir}/tst
}
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