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
4518b0b7
Commit
4518b0b7
authored
May 07, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more tests
parent
eacdb4ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
u00005.vtc
bin/varnishtest/tests/u00005.vtc
+2
-2
u00006.vtc
bin/varnishtest/tests/u00006.vtc
+10
-0
No files found.
bin/varnishtest/tests/u00005.vtc
View file @
4518b0b7
...
...
@@ -36,9 +36,9 @@ shell -expect "Copyright (c) 2006 Verdens Gang AS" \
shell -err -expect "Usage: varnishstat <options>" \
"varnishstat extra"
shell -err -expect "-t: Range error" \
"varnishstat -
n /nonexistent -
t -1"
"varnishstat -t -1"
shell -err -expect "-t: Syntax error" \
"varnishstat -
n /nonexistent -
t foo"
"varnishstat -t foo"
shell -err -expect "Cannot open /nonexistent/_.vsm" \
"varnishstat -n /nonexistent -t 1"
shell -expect "MAIN.uptime" \
...
...
bin/varnishtest/tests/u00006.vtc
View file @
4518b0b7
...
...
@@ -23,6 +23,12 @@ shell -err -expect "Usage: varnishlog <options>" \
"varnishlog extra"
shell -err -expect "Missing -w option" \
"varnishlog -D"
shell -err -expect "Ambiguous grouping type: r" \
"varnishlog -g r"
shell -err -expect "Unknown grouping type: foo" \
"varnishlog -g foo"
shell -err -expect "-k: Invalid number 'foo'" \
"varnishlog -k foo"
shell -err -expect "-L: Range error" \
"varnishlog -L 0"
shell -err -expect {-i: "foo" matches zero tags} \
...
...
@@ -35,6 +41,10 @@ shell -err -expect {-I: "Resp" is ambiguous} \
"varnishlog -I Resp:bar"
shell -err -expect {-I: Regex error at position 4 (missing ))} \
{varnishlog -I "(foo"}
shell -err -expect "-t: Range error" \
"varnishlog -t -1"
shell -err -expect "-t: Syntax error" \
"varnishlog -t foo"
shell -err -expect {-x: Syntax error in "**"} \
{varnishlog -x "**"}
shell -err -expect {-X: Syntax error in "**"} \
...
...
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