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
95a34ee9
Commit
95a34ee9
authored
Apr 28, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor flexelintery
parent
4a9c1fdc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
flint.lnt
bin/varnishtest/flint.lnt
+2
-0
vtc_h2_hpack.c
bin/varnishtest/vtc_h2_hpack.c
+1
-1
vtc_http2.c
bin/varnishtest/vtc_http2.c
+1
-1
vtc_main.c
bin/varnishtest/vtc_main.c
+6
-2
No files found.
bin/varnishtest/flint.lnt
View file @
95a34ee9
...
...
@@ -16,6 +16,8 @@
-e850 // for loop index variable '___' whose type category is '___' is modified in body of the for loop that began at '___'
-e443 // for clause irregularity: variable '___' initialized in 1st expression does not match '___' modified in 3rd
-emacro({506,774},FEATURE)
-emacro({506,774},STRTOU32_CHECK)
-e679 // Suspicious Truncation in arithmetic expression combining with pointer
...
...
bin/varnishtest/vtc_h2_hpack.c
View file @
95a34ee9
...
...
@@ -40,7 +40,7 @@ struct symbol {
uint8_t
size
;
};
static
struct
symbol
coding_table
[]
=
{
static
const
struct
symbol
coding_table
[]
=
{
#define HPACK(i, v, l) {v, l},
#include "vtc_h2_enctbl.h"
#undef HPACK
...
...
bin/varnishtest/vtc_http2.c
View file @
95a34ee9
...
...
@@ -1269,7 +1269,7 @@ cmd_sendhex(CMD_ARGS)
hdr.value.ptr = strdup(v); \
AN(hdr.value.ptr); \
hdr.value.len = strlen(v); \
HPK_EncHdr(iter, &hdr);
\
(void)HPK_EncHdr(iter, &hdr);
\
free(hdr.key.ptr); \
free(hdr.value.ptr); \
}
...
...
bin/varnishtest/vtc_main.c
View file @
95a34ee9
...
...
@@ -532,6 +532,8 @@ read_file(const char *fn, int ntest)
if
(
*
q
!=
'#'
)
break
;
q
=
strchr
(
q
,
'\n'
);
if
(
q
==
NULL
)
break
;
}
if
(
q
==
NULL
||
*
q
==
'\0'
)
{
...
...
@@ -566,6 +568,7 @@ main(int argc, char * const *argv)
int
ch
,
i
;
int
ntest
=
1
;
/* Run tests this many times */
uintmax_t
bufsiz
;
const
char
*
p
;
if
(
getenv
(
"TMPDIR"
)
!=
NULL
)
tmppath
=
strdup
(
getenv
(
"TMPDIR"
));
...
...
@@ -579,8 +582,9 @@ main(int argc, char * const *argv)
params_vsb
=
VSB_new_auto
();
AN
(
params_vsb
);
if
(
getenv
(
"VARNISHTEST_DURATION"
))
vtc_maxdur
=
atoi
(
getenv
(
"VARNISHTEST_DURATION"
));
p
=
getenv
(
"VARNISHTEST_DURATION"
);
if
(
p
!=
NULL
)
vtc_maxdur
=
atoi
(
p
);
setbuf
(
stdout
,
NULL
);
setbuf
(
stderr
,
NULL
);
...
...
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