From f277be6768efeb52c0aa30680eef8425e6f97ba2 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Thu, 19 Jun 2014 19:32:05 +0200 Subject: tests: fix test-icmp6-rs Don't close the fd given to sd-icmp6-nd, since it will be aynschonously closed by sd_icmp6_nd_unref --- src/libsystemd-network/test-icmp6-rs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/libsystemd-network/test-icmp6-rs.c b/src/libsystemd-network/test-icmp6-rs.c index 86e02cccbe..cd5c4764e3 100644 --- a/src/libsystemd-network/test-icmp6-rs.c +++ b/src/libsystemd-network/test-icmp6-rs.c @@ -136,7 +136,6 @@ static void test_rs(sd_event *e) { nd = sd_icmp6_nd_unref(nd); assert(!nd); - close(test_fd[0]); close(test_fd[1]); } -- cgit v1.2.3-54-g00ecf