Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
2fc4064d
Commit
2fc4064d
authored
Oct 25, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test-case improvements.
Submitted by: Federico G. Schwindt
parent
6434572b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
10 deletions
+12
-10
r00263.vtc
bin/varnishtest/tests/r00263.vtc
+1
-1
r00310.vtc
bin/varnishtest/tests/r00310.vtc
+1
-1
r00409.vtc
bin/varnishtest/tests/r00409.vtc
+2
-1
r00655.vtc
bin/varnishtest/tests/r00655.vtc
+1
-2
r00916.vtc
bin/varnishtest/tests/r00916.vtc
+2
-1
r00936.vtc
bin/varnishtest/tests/r00936.vtc
+1
-1
r00971.vtc
bin/varnishtest/tests/r00971.vtc
+1
-1
r01027.vtc
bin/varnishtest/tests/r01027.vtc
+2
-1
r01144.vtc
bin/varnishtest/tests/r01144.vtc
+1
-1
No files found.
bin/varnishtest/tests/r00263.vtc
View file @
2fc4064d
varnishtest "Test refcounting backends from director"
varnish v1 -vcl
+backend
{
varnish v1 -vcl {
backend node1 { .host = "10.0.0.1"; .port = "80"; }
backend node2 { .host = "10.0.0.2"; .port = "80"; }
backend node3 { .host = "10.0.0.3"; .port = "80"; }
...
...
bin/varnishtest/tests/r00310.vtc
View file @
2fc4064d
varnishtest "Test obj.http.x-cache in vcl_hit"
varnish v1 -
badvcl
{
varnish v1 -
errvcl {'obj.http.x-cache': cannot be set in method 'vcl_hit'.}
{
backend foo { .host = "localhost"; }
sub vcl_hit {
...
...
bin/varnishtest/tests/r00409.vtc
View file @
2fc4064d
varnishtest "Regression test for ticket 409"
varnish v1 -badvcl {
varnish v1 -errvcl {Expected CSTR got '!'} {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
if ( req.url ~ ! "\.(png|jpg|gif|js|css)$" ) {
return (pass);
...
...
bin/varnishtest/tests/r00655.vtc
View file @
2fc4064d
varnishtest "Test nested /*...*/ comments "
varnish v1 -badvcl {
varnish v1 -errvcl {/* ... */ comment contains /*} {
/* foo
/* bar
...
...
bin/varnishtest/tests/r00916.vtc
View file @
2fc4064d
...
...
@@ -5,7 +5,8 @@ server s1 {
txresp -body "FOO"
} -start
varnish v1 -badvcl {
varnish v1 -errvcl {Symbol not found: 's-1' (expected type BACKEND)} {
backend b { .host = "127.0.0.1"; }
sub s1 {
}
sub vcl_fetch {
...
...
bin/varnishtest/tests/r00936.vtc
View file @
2fc4064d
...
...
@@ -5,7 +5,7 @@ server s1 {
txresp
} -start
varnish v1 -
badvcl
{
varnish v1 -
errvcl {'synthetic': not a valid action in method 'vcl_recv'}
{
backend foo { .host = "127.0.0.1"; }
sub vcl_recv {
...
...
bin/varnishtest/tests/r00971.vtc
View file @
2fc4064d
varnishtest "Test DNS director order"
varnish v1 -vcl
+backend
{
varnish v1 -vcl {
backend test {
.host = "192.168.0.1";
...
...
bin/varnishtest/tests/r01027.vtc
View file @
2fc4064d
varnishtest "Test if you can error in vcl_deliver"
varnish v1 -badvcl {
varnish v1 -errvcl {'error': not a valid action in method 'vcl_deliver'} {
backend b { .host = "127.0.0.1"; }
sub vcl_deliver {
error 201 "ok";
}
...
...
bin/varnishtest/tests/r01144.vtc
View file @
2fc4064d
...
...
@@ -24,7 +24,7 @@ client c1 {
expect resp.status == 200
} -run
varnish v1 -
badvcl
{
varnish v1 -
errvcl {Expected ID got '0'}
{
backend 0fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210
{
.host = "127.0.0.1";
...
...
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