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
6676d903
Commit
6676d903
authored
Mar 12, 2015
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't leave a varnish process running when listening to the bad_ip does succeed
parent
4666acdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c00003.vtc
bin/varnishtest/tests/c00003.vtc
+2
-2
No files found.
bin/varnishtest/tests/c00003.vtc
View file @
6676d903
...
@@ -4,7 +4,7 @@ varnishtest "Check that we fail to start if any listen address does not work"
...
@@ -4,7 +4,7 @@ varnishtest "Check that we fail to start if any listen address does not work"
# and are on Linux, ensure /proc/net/ipv4/ip_nonlocal_bind is set to 0.
# and are on Linux, ensure /proc/net/ipv4/ip_nonlocal_bind is set to 0.
# All bad listen addresses
# All bad listen addresses
err_shell "Failed to open (any) accept sockets" {${varnishd} -
a "${bad_ip}:0" -n ${tmpdir} 2>&1
}
err_shell "Failed to open (any) accept sockets" {${varnishd} -
F -a "${bad_ip}:0" -b 127.0.0.1:80 -n ${tmpdir} 2>&1 & pid=$! ; sleep 1 ; kill $pid ; wait
}
# Just one bad listen addresses
# Just one bad listen addresses
# err_shell "Invalid listen address" {${varnishd} -
a "127.0.0.1:0,${bad_ip}:0" -n ${tmpdir} 2>&1
}
# err_shell "Invalid listen address" {${varnishd} -
F -a "127.0.0.1:0,${bad_ip}:0" -b 127.0.0.1:80 -n ${tmpdir} 2>&1 & pid=$! ; sleep 1 ; kill $pid ; wait
}
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