aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 15:26:56 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 15:26:56 +0100
commit158cfc172165834d8db9eeccd5da4797d7e3a311 (patch)
tree4c24ab05934d417ccff0390ec528009500e8c7c3 /tools
parent6056dd15dde90c0e4e933fcc7b4ffc9a38fba766 (diff)
parentee58d910afb18694533fb17cc6ef3c2bb8daf9a6 (diff)
downloadlinux-next-history-158cfc172165834d8db9eeccd5da4797d7e3a311.tar.gz
Merge branch 'fs-current' of linux-next
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/kselftest_harness.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kselftest_harness.h b/tools/testing/selftests/kselftest_harness.h
index cfdce9cd252e7..261e4df94d9d5 100644
--- a/tools/testing/selftests/kselftest_harness.h
+++ b/tools/testing/selftests/kselftest_harness.h
@@ -996,6 +996,7 @@ static void __wait_for_test(struct __test_metadata *t)
poll_child.fd = childfd;
poll_child.events = POLLIN;
ret = poll(&poll_child, 1, t->timeout * 1000);
+ close(childfd);
if (ret == -1) {
t->exit_code = KSFT_FAIL;
fprintf(TH_LOG_STREAM,