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