Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qwebaby3
asn1c
Commits
b5ce57f4
Commit
b5ce57f4
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
fixed test
parent
ace5e919
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asn1c/tests/check-62.c
+5
-2
5 additions, 2 deletions
asn1c/tests/check-62.c
with
5 additions
and
2 deletions
asn1c/tests/check-62.c
+
5
−
2
View file @
b5ce57f4
...
@@ -125,10 +125,13 @@ process_data(enum expectation expectation, char *fbuf, int size) {
...
@@ -125,10 +125,13 @@ process_data(enum expectation expectation, char *fbuf, int size) {
assert
(
buf_offset
>
0
&&
buf_offset
<
size
);
assert
(
buf_offset
>
0
&&
buf_offset
<
size
);
break
;
break
;
case
EXP_BROKEN
:
case
EXP_BROKEN
:
assert
(
buf_offset
=
=
size
);
assert
(
buf_offset
!
=
size
assert
(
memcmp
(
buf
,
fbuf
,
buf_offset
)
==
0
);
||
memcmp
(
buf
,
fbuf
,
buf_offset
));
break
;
break
;
case
EXP_OK
:
case
EXP_OK
:
printf
(
"%d %d
\n
"
,
buf_offset
,
size
);
assert
(
buf_offset
==
size
);
assert
(
memcmp
(
buf
,
fbuf
,
buf_offset
)
==
0
);
break
;
break
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment