projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: partial recv lead to client disconnect
[lttng-tools.git]
/
tests
/
unit
/
test_fd_tracker.c
diff --git
a/tests/unit/test_fd_tracker.c
b/tests/unit/test_fd_tracker.c
index 2c5337fa090566de4e40a9aaecc41046615f12da..7c818b94bd2fb6cee2749016f89fc902f4278cce 100644
(file)
--- a/
tests/unit/test_fd_tracker.c
+++ b/
tests/unit/test_fd_tracker.c
@@
-329,7
+329,7
@@
int close_pipes(void *data, int *fds)
/*
* Validate that the tracker enforces the open file descriptor limit
/*
* Validate that the tracker enforces the open file descriptor limit
- * when unsuspendable file descri
t
ptors are being opened.
+ * when unsuspendable file descriptors are being opened.
*/
static
void test_unsuspendable_limit(void)
*/
static
void test_unsuspendable_limit(void)
@@
-349,7
+349,7
@@
void test_unsuspendable_limit(void)
ret = fd_tracker_open_unsuspendable_fd(tracker, fds,
NULL, TRACKER_FD_LIMIT, open_pipes, NULL);
ret = fd_tracker_open_unsuspendable_fd(tracker, fds,
NULL, TRACKER_FD_LIMIT, open_pipes, NULL);
- ok(ret == 0, "File descriptor tracker allowed the user to meet its limit with unsuspendable file descri
t
ptors (%d)",
+ ok(ret == 0, "File descriptor tracker allowed the user to meet its limit with unsuspendable file descriptors (%d)",
TRACKER_FD_LIMIT);
ret = fd_tracker_open_unsuspendable_fd(tracker, &out_fd,
TRACKER_FD_LIMIT);
ret = fd_tracker_open_unsuspendable_fd(tracker, &out_fd,
@@
-893,15
+893,15
@@
int main(int argc, char **argv)
test_unsuspendable_duplicate();
diag("Unsuspendable - closing an untracked file descriptor");
test_unsuspendable_close_untracked();
test_unsuspendable_duplicate();
diag("Unsuspendable - closing an untracked file descriptor");
test_unsuspendable_close_untracked();
- diag("Unsuspendable - check that file descri
t
ptor limit is enforced");
+ diag("Unsuspendable - check that file descriptor limit is enforced");
test_unsuspendable_limit();
test_unsuspendable_limit();
- diag("Suspendable - check that file descri
t
ptor limit is enforced");
+ diag("Suspendable - check that file descriptor limit is enforced");
test_suspendable_limit();
diag("Suspendable - restoration test");
test_suspendable_restore();
test_suspendable_limit();
diag("Suspendable - restoration test");
test_suspendable_restore();
- diag("Mixed - check that file descri
t
ptor limit is enforced");
+ diag("Mixed - check that file descriptor limit is enforced");
test_mixed_limit();
diag("Suspendable - Unlinking test");
test_mixed_limit();
diag("Suspendable - Unlinking test");
This page took
0.025984 seconds
and
4
git commands to generate.