Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Linux-Kernel
libevl
Commits
654717f0
Commit
654717f0
authored
May 04, 2020
by
Philippe Gerum
Browse files
tests: compile/observable: add missing checks
Signed-off-by:
Philippe Gerum
<
rpm@xenomai.org
>
parent
07f7d358
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/compile-tests/observable.cc
View file @
654717f0
...
...
@@ -8,8 +8,14 @@
int
main
(
int
argc
,
char
*
argv
[])
{
struct
evl_notification
nf
;
struct
evl_notice
no
;
int
efd
;
evl_new_observable
(
"test"
);
evl_create_observable
(
EVL_CLONE_PRIVATE
,
"test"
);
efd
=
evl_create_observable
(
EVL_CLONE_PRIVATE
,
"test"
);
evl_update_observable
(
efd
,
&
no
,
1
);
evl_read_observable
(
efd
,
&
nf
,
1
);
return
0
;
}
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