Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
df791ef3
Commit
df791ef3
authored
Mar 30, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expand test for format.c/get_tag() for the case that the record
is not found
parent
c16c4334
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test_format.c
src/test/test_format.c
+6
-0
No files found.
src/test/test_format.c
View file @
df791ef3
...
...
@@ -137,6 +137,12 @@ static const char
rec
=
get_tag
(
&
tx
,
SLT_RespHeader
);
MASSERT
(
rec
==
&
recs
[
NRECORDS
-
1
]);
/* Record not found */
recs
[
NRECORDS
/
2
].
tag
=
SLT_ReqHeader
;
recs
[
NRECORDS
-
1
].
tag
=
SLT_ReqHeader
;
rec
=
get_tag
(
&
tx
,
SLT_RespHeader
);
MAZ
(
rec
);
/* Empty line list */
VSTAILQ_INIT
(
&
tx
.
lines
);
rec
=
get_tag
(
&
tx
,
SLT_ReqHeader
);
...
...
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