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
52099d46
Commit
52099d46
authored
Mar 23, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't append newline for varnishtest -p
Original patch from @joshuaspence. Closes #2262
parent
3ca71ebe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
r02262.vtc
bin/varnishtest/tests/r02262.vtc
+10
-0
vtc_main.c
bin/varnishtest/vtc_main.c
+1
-1
No files found.
bin/varnishtest/tests/r02262.vtc
0 → 100644
View file @
52099d46
varnishtest "varnishtest -p"
shell {
cat >_.vtc <<EOF
varnishtest -p
varnish v1 -cliexpect 42 "param.show default_ttl"
EOF
exec varnishtest -v -t 5 -p default_ttl=42 _.vtc
}
bin/varnishtest/vtc_main.c
View file @
52099d46
...
@@ -627,7 +627,7 @@ main(int argc, char * const *argv)
...
@@ -627,7 +627,7 @@ main(int argc, char * const *argv)
break
;
break
;
case
'p'
:
case
'p'
:
VSB_printf
(
params_vsb
,
" -p "
);
VSB_printf
(
params_vsb
,
" -p "
);
VSB_quote
(
params_vsb
,
optarg
,
-
1
,
VSB_QUOTE_NONL
);
VSB_quote
(
params_vsb
,
optarg
,
-
1
,
0
);
break
;
break
;
case
'q'
:
case
'q'
:
if
(
vtc_verbosity
>
0
)
if
(
vtc_verbosity
>
0
)
...
...
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