Bug #61791 [PATCH]: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
Edit report at https://bugs.php.net/bug.php?id=61791&edit=1
ID: 61791
Patch added by: ab@php.net
Reported by: ab@php.net
Summary: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
Status: Open
Type: Bug
Package: SQLite related
Operating System: windows
PHP Version: 5.3Git-2012-04-20 (Git)
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: sqlite_5.4.diff
Revision: 1334952816
URL: https://bugs.php.net/patch-display.php?bug=61791&patch=sqlite_5.4.diff&revision=1334952816
Previous Comments:
------------------------------------------------------------------------
[2012-04-20 20:12:55] ab@php.net
The following patch has been added/updated:
Patch Name: sqlite_5.3.diff
Revision: 1334952775
URL: https://bugs.php.net/patch-display.php?bug=61791&patch=sqlite_5.3.diff&revision=1334952775
------------------------------------------------------------------------
[2012-04-20 20:11:35] ab@php.net
Description:
------------
Test diff:
001- exception 'Exception' with message 'Unable to open database: %s' in
%ssqlite3_15_open_error.php:%d
002- Stack trace:
003- #0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s')
004- #1 {main}
002+
003+ Warning: unlink(C:\php-sdk\php53\vc9\x86\php-src\ext\sqlite3\tests/unreadable.db): Permission
denied in C:\php-sdk\php53\vc9\x86\php-src\ext\sqlite3\tests\sqlite3_15_open_error.php on line 11
The reason for the test to fail is - chmod() doesn't work on windows.
Expected result:
----------------
test pass
Actual result:
--------------
test fail
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61791&edit=1
Thread (4 messages)