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
a5a3affe
Commit
a5a3affe
authored
Jan 28, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Correct this test for good"
This reverts commit
a4e07fc5
. It still fails on FreeBSD and SunOS.
parent
cfcfc6a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
c00003.vtc
bin/varnishtest/tests/c00003.vtc
+3
-3
vtc_main.c
bin/varnishtest/vtc_main.c
+0
-3
No files found.
bin/varnishtest/tests/c00003.vtc
View file @
a5a3affe
varnishtest "Check that we fail to start with erroneous -a/-b arguments"
# Duplicate -a arguments
shell -err -expect "have same address" {
varnishd -d -a 127.0.0.1:${random_port} \
-a 127.0.0.1:${random_port}
-b localhost:80
# XXX: this cannot be tested reliably, we tolerate port collision
shell -err -match "have same address|already in use" {
varnishd -d -a 127.0.0.1:38484 -a 127.0.0.1:38484
-b localhost:80
}
# -a bad protocol specs
...
...
bin/varnishtest/vtc_main.c
View file @
a5a3affe
...
...
@@ -499,9 +499,6 @@ ip_magic(void)
/* Expose a backend that is forever down. */
extmacro_def
(
"bad_backend"
,
"%s %s"
,
abuf
,
pbuf
);
/* Expose a port that ought to be free */
extmacro_def
(
"random_port"
,
"%s"
,
pbuf
);
/*
* We need an IP number which will not repond, ever, and that is a
* lot harder than it sounds. This IP# is from RFC5737 and a
...
...
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