projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
runas: fix: possible unaligned access in packed structure
[lttng-tools.git]
/
tests
/
unit
/
test_utils_compat_poll.c
diff --git
a/tests/unit/test_utils_compat_poll.c
b/tests/unit/test_utils_compat_poll.c
index 1eb327a6a708c2137aa22d75a120f3de67bbb19d..24a74d76f753018b6599161070b1c1d5725588e5 100644
(file)
--- a/
tests/unit/test_utils_compat_poll.c
+++ b/
tests/unit/test_utils_compat_poll.c
@@
-41,6
+41,13
@@
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_mi;
int lttng_opt_verbose;
int lttng_opt_mi;
+/*
+ * Non-zero 8-bits arbitrary value below 0x7f to ensure no sign extension
+ * occurs. Used to verify that the value is properly propagated through the
+ * pipe.
+ */
+#define MAGIC_VALUE ((char) 0x5A)
+
#ifdef HAVE_EPOLL
#define NUM_TESTS 46
#else
#ifdef HAVE_EPOLL
#define NUM_TESTS 46
#else
@@
-54,11
+61,6
@@
int lttng_opt_mi;
#define CLOE_VALUE FD_CLOEXEC
#endif
#define CLOE_VALUE FD_CLOEXEC
#endif
-/* Non-zero 8-bits arbitrary value below 0x7f to ensure no sign extension
- * used to verify that the value is properly propagated throught the pipe.
- */
-#define MAGIC_VALUE ((char)0x5A)
-
void test_epoll_compat(void)
{
/*
void test_epoll_compat(void)
{
/*
This page took
0.0241400000000001 seconds
and
4
git commands to generate.