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
b5d65c1a
Commit
b5d65c1a
authored
Jan 28, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
98f3f953
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
c00003.vtc
bin/varnishtest/tests/c00003.vtc
+8
-6
No files found.
bin/varnishtest/tests/c00003.vtc
View file @
b5d65c1a
...
...
@@ -7,20 +7,22 @@ shell -err -match "have same address|already in use" {
}
# -a bad protocol specs
shell -err -expect "Too many sub-arguments" \
"varnishd -a 127.0.0.1:80000,PROXY,FOO -d 2>&1"
shell -err -expect "Too many sub-arguments" \
"varnishd -a 127.0.0.1:80000,HTTP/1,FOO -d 2>&1"
shell -err -expect "Too many sub-arguments" {
varnishd -a 127.0.0.1:80000,PROXY,FOO -d
}
shell -err -expect "Too many sub-arguments" {
varnishd -a 127.0.0.1:80000,HTTP/1,FOO -d
}
# This requires non-local binds to be disabled. If you see this fail
# and are on Linux, ensure /proc/net/ipv4/ip_nonlocal_bind is set to 0.
# All bad listen addresses
shell -err -expect "Error: Could not get socket" {
varnishd -F -a "${bad_ip}:0" -b '***' -n ${tmpdir}
2>&1
varnishd -F -a "${bad_ip}:0" -b '***' -n ${tmpdir}
}
# old style address list
shell -err -expect "Unknown protocol" {
varnishd -F -a "127.0.0.1:0,${bad_ip}:0" -b '***' -n ${tmpdir}
2>&1
varnishd -F -a "127.0.0.1:0,${bad_ip}:0" -b '***' -n ${tmpdir}
}
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