Commit 6a54c16c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Reformat so that all magic port numbers show their nature in a grep



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4488 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 023e9d1b
......@@ -6,8 +6,7 @@ test "Check synthetic error page caching"
varnish v1 -vcl {
backend foo {
.host = "127.0.0.2";
.port = "9080";
.host = "127.0.0.2"; .port = "9080";
}
} -start
......
......@@ -4,8 +4,7 @@ test "Check naming of backends"
varnish v1 -vcl {
backend foo {
.host = "127.0.0.2";
.port = "9080";
.host = "127.0.0.2"; .port = "9080";
}
sub vcl_recv {
......@@ -27,8 +26,7 @@ varnish v1 -vcl {
director bar random {
{
.backend = {
.host = "127.0.0.2";
.port = "9080";
.host = "127.0.0.2"; .port = "9080";
}
.weight = 1;
}
......@@ -52,8 +50,7 @@ client c1 {
varnish v1 -vcl {
director baz round-robin {
{ .backend = {
.host = "127.0.0.2";
.port = "9080";
.host = "127.0.0.2"; .port = "9080";
} }
}
......
......@@ -4,8 +4,7 @@ test "Check that we close one error"
varnish v1 -vcl {
backend foo {
.host = "127.0.0.2";
.port = "9080";
.host = "127.0.0.2"; .port = "9080";
}
sub vcl_recv {
error 888;
......
......@@ -11,9 +11,9 @@ server s1 {
# 198.18.1.1 is IANA-reserved for Network Interconnect Device
# Benchmark Testing
varnish v1 -cliok "param.set listen_address 198.18.1.1:9082"
varnish v1 -cliok "param.set listen_address 127.0.0.2:0"
varnish v1 -vcl+backend {} -clierr 300 start
varnish v1 -cliok "param.set listen_address 127.0.0.1:9081,127.0.0.2:9082"
varnish v1 -cliok "param.set listen_address 127.0.0.1:0,127.0.0.2:9082"
varnish v1 -start
client c1 {
......
......@@ -4,8 +4,7 @@ test "Test that we can't recurse restarts forever"
varnish v1 -vcl {
backend bad {
.host = "127.0.0.1";
.port = "9090";
.host = "127.0.0.2"; .port = "9090";
}
sub vcl_recv {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment