aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/tests/gen/opendir_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/gen/opendir_test.c')
-rw-r--r--lib/libc/tests/gen/opendir_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/tests/gen/opendir_test.c b/lib/libc/tests/gen/opendir_test.c
index 89be2becc607..b7481255654f 100644
--- a/lib/libc/tests/gen/opendir_test.c
+++ b/lib/libc/tests/gen/opendir_test.c
@@ -46,6 +46,7 @@ opendir_check(const struct atf_tc *tc, DIR *dirp)
ATF_CHECK_STREQ("subdir", ent->d_name);
ATF_CHECK_EQ(DT_DIR, ent->d_type);
ATF_CHECK(readdir(dirp) == NULL);
+ ATF_CHECK(readdir(dirp) == NULL);
}
ATF_TC(opendir_ok);