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
191cbe47
Commit
191cbe47
authored
Mar 07, 2023
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More coverage of -sfile argument processing
parent
a02743cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
s00003.vtc
bin/varnishtest/tests/s00003.vtc
+18
-0
No files found.
bin/varnishtest/tests/s00003.vtc
View file @
191cbe47
...
...
@@ -18,6 +18,7 @@ server s1 {
varnish v1 \
-arg "-sTransient=file,${tmpdir}/_.file,10m" \
-arg "-sdir=file,${tmpdir}/,10m" \
-vcl+backend {
sub vcl_backend_response {
set beresp.do_stream = false;
...
...
@@ -39,3 +40,20 @@ client c1 {
rxresp
expect resp.bodylen == 262
} -run
varnish v1 -vsl_catchup
varnish v1 -cliok "ban obj.http.date ~ ."
process p1 {
varnishd -sTransient=file,${tmpdir}/foo,xxx -blocalhost -a:0 -n ${tmpdir} 2>&1
} -expect-exit 255 -dump -start -expect-text 0 0 "Invalid number" -wait -screen_dump
process p1 {
varnishd -sTransient=file,${tmpdir}/foo,10M,xxx -blocalhost -a:0 -n ${tmpdir} 2>&1
} -expect-exit 255 -dump -start -expect-text 0 0 "granularity" -wait -screen_dump
process p1 {
varnishd -sTransient=file,${tmpdir}/foo,10m,,foo -blocalhost -a:0 -n ${tmpdir} 2>&1
} -expect-exit 255 -dump -start -expect-text 0 0 "invalid advice" -wait
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