AmigaOS patches to 5.003_28
[p5sagit/p5-mst-13.2.git] / t / lib / db-hash.t
index e6ffa6b..9ebd060 100755 (executable)
@@ -1,4 +1,4 @@
-#!./perl -w 
+#!./perl -w
 
 BEGIN {
     @INC = '../lib' if -d '../lib' ;
@@ -72,7 +72,7 @@ ok(15, $X = tie(%h, 'DB_File',$Dfile, O_RDWR|O_CREAT, 0640, $DB_HASH ) );
 
 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
    $blksize,$blocks) = stat($Dfile);
-ok(16, ($mode & 0777) == ($^O eq 'os2' ? 0666 : 0640) );
+ok(16, ($mode & 0777) == ($^O eq 'os2' ? 0666 : 0640) || $^O eq 'amigaos');
 
 while (($key,$value) = each(%h)) {
     $i++;