Skip to content

Commit f277be6

Browse files
ronnychevalierpoettering
authored andcommitted
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
1 parent 03de7ed commit f277be6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libsystemd-network/test-icmp6-rs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ static void test_rs(sd_event *e) {
136136
nd = sd_icmp6_nd_unref(nd);
137137
assert(!nd);
138138

139-
close(test_fd[0]);
140139
close(test_fd[1]);
141140
}
142141

0 commit comments

Comments
 (0)