summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/lib/glob-basic.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/glob-basic.t b/t/lib/glob-basic.t
index 47280831a9..89024baaab 100755
--- a/t/lib/glob-basic.t
+++ b/t/lib/glob-basic.t
@@ -27,7 +27,7 @@ $ENV{PATH} = "/bin";
delete @ENV{BASH_ENV, CDPATH, ENV, IFS};
@correct = ();
if (opendir(D, ".")) {
- @correct = grep { !/^\.\.?$/ } sort readdir(D);
+ @correct = grep { !/^\./ } sort readdir(D);
closedir D;
}
@a = File::Glob::glob("*", 0);