projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test: babeltrace1 python bindings exposes `op_enum` as a string
[lttng-tools.git]
/
tests
/
regression
/
kernel
/
validate_select_poll_epoll.py
diff --git
a/tests/regression/kernel/validate_select_poll_epoll.py
b/tests/regression/kernel/validate_select_poll_epoll.py
index b8d28a9816114ebee7f68e202b3f52ea743f9697..f82ea68d0966b1f8cdf91d8078f591de1920872d 100755
(executable)
--- a/
tests/regression/kernel/validate_select_poll_epoll.py
+++ b/
tests/regression/kernel/validate_select_poll_epoll.py
@@
-331,7
+331,7
@@
class Test1(TraceParser):
# check that we have FD 0 waiting for EPOLLIN|EPOLLPRI and that
# data.fd = 0
# check that we have FD 0 waiting for EPOLLIN|EPOLLPRI and that
# data.fd = 0
- if (epfd == self.epoll_wait_fd or epfd == self.epoll_pwait_fd) and 'EPOLL_CTL_ADD'
in op_enum.labels
and fd == 0 and \
+ if (epfd == self.epoll_wait_fd or epfd == self.epoll_pwait_fd) and 'EPOLL_CTL_ADD'
== op_enum
and fd == 0 and \
_event["data_union"]["fd"] == 0 and \
_event["events"]["EPOLLIN"] == 1 and \
_event["events"]["EPOLLPRI"] == 1:
_event["data_union"]["fd"] == 0 and \
_event["events"]["EPOLLIN"] == 1 and \
_event["events"]["EPOLLPRI"] == 1:
This page took
0.023461 seconds
and
4
git commands to generate.