OSDN Git Service

- supress unlink permission error on windows.
authormumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 4 Jul 2008 10:36:25 +0000 (10:36 +0000)
committermumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 4 Jul 2008 10:36:25 +0000 (10:36 +0000)
test/Ethna_DB_ADOdb_Test.php

index 4e0d544..9c9a3c6 100644 (file)
@@ -57,7 +57,7 @@ class Ethna_DB_ADOdb_Test extends Ethna_UnitTestBase
     {
         if ($this->db_type == 'sqlite') {
             if (file_exists($this->db_path)) {
-                unlink($this->db_path);
+                @unlink($this->db_path);
             }
         }
     }