summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-06-19 19:32:05 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-20 00:32:02 +0200
commitf277be6768efeb52c0aa30680eef8425e6f97ba2 (patch)
treed0b92953ac9fd97b98d4b839498a7fc8ad6244f4
parent03de7ed905ea95814b6a5008225d6fb708871e1f (diff)
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
-rw-r--r--src/libsystemd-network/test-icmp6-rs.c1
1 files changed, 0 insertions, 1 deletions
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]);
}