Bug #61791 [PATCH]: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails

From: Date: Fri, 20 Apr 2012 20:12:55 +0000
Subject: Bug #61791 [PATCH]: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169808@lists.php.net to get a copy of this message
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.3.diff
Revision:   1334952775
URL:        https://bugs.php.net/patch-display.php?bug=61791&patch=sqlite_5.3.diff&revision=1334952775


Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.bugs (#169808) next »