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
8309f554
Commit
8309f554
authored
May 05, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display usage if we don't have any tests to run
parent
4d648b8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vtc_main.c
bin/varnishtest/vtc_main.c
+4
-2
No files found.
bin/varnishtest/vtc_main.c
View file @
8309f554
...
@@ -145,7 +145,6 @@ usage(void)
...
@@ -145,7 +145,6 @@ usage(void)
fprintf
(
stderr
,
FMT
,
"-t duration"
,
"Time tests out after this long"
);
fprintf
(
stderr
,
FMT
,
"-t duration"
,
"Time tests out after this long"
);
fprintf
(
stderr
,
FMT
,
"-v"
,
"Verbose mode: always report test log"
);
fprintf
(
stderr
,
FMT
,
"-v"
,
"Verbose mode: always report test log"
);
fprintf
(
stderr
,
FMT
,
"-W"
,
"Enable the witness facility for locking"
);
fprintf
(
stderr
,
FMT
,
"-W"
,
"Enable the witness facility for locking"
);
fprintf
(
stderr
,
"
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -653,7 +652,10 @@ main(int argc, char * const *argv)
...
@@ -653,7 +652,10 @@ main(int argc, char * const *argv)
argc
-=
optind
;
argc
-=
optind
;
argv
+=
optind
;
argv
+=
optind
;
for
(;
argc
>
0
;
argc
--
,
argv
++
)
{
if
(
argc
<
1
)
usage
();
for
(;
argc
>
0
;
argc
--
,
argv
++
)
{
if
(
!
read_file
(
*
argv
,
ntest
))
if
(
!
read_file
(
*
argv
,
ntest
))
continue
;
continue
;
if
(
!
vtc_continue
)
if
(
!
vtc_continue
)
...
...
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