summaryrefslogtreecommitdiff
path: root/source4/torture/subunit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/subunit.c')
-rw-r--r--source4/torture/subunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/subunit.c b/source4/torture/subunit.c
index 299ca3f015..f7c14aa023 100644
--- a/source4/torture/subunit.c
+++ b/source4/torture/subunit.c
@@ -56,7 +56,7 @@ bool torture_subunit_load_testsuites(const char *directory, bool recursive,
while((entry = readdir(dir))) {
struct torture_suite *child;
- if (ISDOT(entry->d_name) || ISDOTDOT(entry->d_name))
+ if (entry->d_name[0] == '.')
continue;
if (!recursive && entry->d_type & DT_DIR)