Bug #61791 [Opn->Csd]: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails

From: Date: Thu, 26 Apr 2012 13:42:34 +0000
Subject: Bug #61791 [Opn->Csd]: ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169966@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
 Updated by:         ab@php.net
 Reported by:        ab@php.net
 Summary:            ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            SQLite related
 Operating System:   windows
 PHP Version:        5.3Git-2012-04-20 (Git)
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-04-26 13:19:52] ab@php.net

Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4daab0abecd5ee583c005d8e7b6affc08af8639d
Log: Fix bug #61791 ext\sqlite3\tests\sqlite3_15_open_error.phpt fails

------------------------------------------------------------------------
[2012-04-20 20:13:36] ab@php.net

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

------------------------------------------------------------------------
[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)

« previous php.bugs (#169966) next »