summaryrefslogtreecommitdiff
path: root/t/lib/anydbm.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/anydbm.t')
-rwxr-xr-xt/lib/anydbm.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/anydbm.t b/t/lib/anydbm.t
index 957aadafba..80b39df141 100755
--- a/t/lib/anydbm.t
+++ b/t/lib/anydbm.t
@@ -23,7 +23,7 @@ if (! -e $Dfile) {
}
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
$blksize,$blocks) = stat($Dfile);
-print (($mode & 0777) == 0640 ? "ok 2\n" : "not ok 2\n");
+print (($mode & 0777) == ($^O eq 'os2' ? 0666 : 0640) ? "ok 2\n" : "not ok 2\n");
while (($key,$value) = each(%h)) {
$i++;
}