summaryrefslogtreecommitdiff
path: root/src/test/test-fd-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2018-08-14 18:39:33 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit1a7523a8c73ff91109c459da6f0af2fd3585e1e7 (patch)
tree0de40838449f2e1b051669c1360f5b7f959e20fc /src/test/test-fd-util.c
parent5df5d72136c7c0b4a45a76463cb3441404f29cb4 (diff)
Prep v239: Add missing updates that evaded migration.
Diffstat (limited to 'src/test/test-fd-util.c')
-rw-r--r--src/test/test-fd-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test-fd-util.c b/src/test/test-fd-util.c
index 2b6cd0511..4328442ad 100644
--- a/src/test/test-fd-util.c
+++ b/src/test/test-fd-util.c
@@ -246,6 +246,7 @@ static void assert_equal_fd(int fd1, int fd2) {
}
}
+#if 0 /// UNNEEDED by elogind
static void test_fd_duplicate_data_fd(void) {
_cleanup_close_ int fd1 = -1, fd2 = -1;
_cleanup_(close_pairp) int sfd[2] = { -1, -1 };
@@ -311,6 +312,7 @@ static void test_fd_duplicate_data_fd(void) {
assert_se(read(fd2, &j, sizeof(j)) == 0);
}
+#endif // 0
static void test_read_nr_open(void) {
log_info("nr-open: %i", read_nr_open());
@@ -329,7 +331,9 @@ int main(int argc, char *argv[]) {
test_acquire_data_fd();
test_fd_move_above_stdio();
test_rearrange_stdio();
+#if 0 /// UNNEEDED by elogind
test_fd_duplicate_data_fd();
+#endif // 0
test_read_nr_open();
return 0;