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
e5edb7cc
Commit
e5edb7cc
authored
Feb 04, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify "Should not happen" checks
Suggested by Federico.
parent
e300b981
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
m00022.vtc
bin/varnishtest/tests/m00022.vtc
+1
-5
m00027.vtc
bin/varnishtest/tests/m00027.vtc
+1
-5
No files found.
bin/varnishtest/tests/m00022.vtc
View file @
e5edb7cc
...
...
@@ -34,11 +34,7 @@ varnish v1 -errvcl "Planned failure in vcl_init" {
logexpect l1 -wait
shell {
set -e
varnishlog -n ${v1_name} -d -g raw >v1.log
! grep "Should not happen" v1.log
}
shell -match "^$" {varnishlog -n ${v1_name} -d -g raw -I "Should not happen"}
varnish v1 -cliok "param.set nuke_limit 42"
...
...
bin/varnishtest/tests/m00027.vtc
View file @
e5edb7cc
...
...
@@ -18,8 +18,4 @@ varnish v1 -errvcl "Missing dynamic backend address or port" {
}
}
shell {
set -e
varnishlog -n ${v1_name} -d -g raw >v1.log
! grep "Should not happen" v1.log
}
shell -match "^$" {varnishlog -n ${v1_name} -d -g raw -I "Should not happen"}
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