Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
b5ce57f4
Commit
b5ce57f4
authored
Feb 18, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed test
parent
ace5e919
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
asn1c/tests/check-62.c
asn1c/tests/check-62.c
+5
-2
No files found.
asn1c/tests/check-62.c
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
;
}
}
...
...
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