php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
Submitted: 2012-05-24 10:55 UTC Modified: 2012-05-24 11:44 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Testing related
PHP Version: 5.4Git-2012-05-24 (Git) OS: windows
Private report: No CVE-ID: None
 [2012-05-24 10:55 UTC] ab@php.net
Description:
------------
Test diff:

005+ Warning: rename(-1,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the file specified. (code: 2) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
005- Warning: rename(-1,%safile.tmp): The system cannot find the file specified. (code: 2) in %srename_variation13-win32.php on line 50
010+ Warning: rename(1,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the file specified. (code: 2) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
010- Warning: rename(1,%safile.tmp): The system cannot find the file specified. (code: 2) in %srename_variation13-win32.php on line 50
014+ Warning: rename(C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp,): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
014- Warning: rename(%safile.tmp,): Invalid argument in %srename_variation13-win32.php on line %d
017+ Warning: rename(,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
017- Warning: rename(,%safile.tmp): Invalid argument in %srename_variation13-win32.php on line %d
021+ Warning: rename(C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp,): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
021- Warning: rename(%safile.tmp,): Invalid argument in %srename_variation13-win32.php on line %d
024+ Warning: rename(,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
024- Warning: rename(,%safile.tmp): Invalid argument in %srename_variation13-win32.php on line %d
028+ Warning: rename(C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp,): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
028- Warning: rename(%safile.tmp,): Invalid argument in %srename_variation13-win32.php on line %d
031+ Warning: rename(,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
031- Warning: rename(,%safile.tmp): Invalid argument in %srename_variation13-win32.php on line %d
042+ Warning: rename() expects parameter 2 to be a valid path, string given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
042- Warning: rename() expects parameter 2 to be a valid path, string given in %srename_variation13-win32.php on line 42
045+ Warning: file_exists() expects parameter 1 to be a valid path, string given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 46
045- Warning: file_exists() expects parameter 1 to be a valid path, string given in %srename_variation13-win32.php on line 43
047+ Warning: rename() expects parameter 1 to be a valid path, string given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
047- Warning: rename() expects parameter 1 to be a valid path, string given in %srename_variation13-win32.php on line 50
051+ Warning: rename() expects parameter 2 to be a valid path, array given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
051- Warning: rename() expects parameter 2 to be a valid path, array given in %srename_variation13-win32.php on line 42
054+ Warning: file_exists() expects parameter 1 to be a valid path, array given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 46
054- Warning: file_exists() expects parameter 1 to be a valid path, array given in %srename_variation13-win32.php on line 43
056+ Warning: rename() expects parameter 1 to be a valid path, array given in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
056- Warning: rename() expects parameter 1 to be a valid path, array given in %srename_variation13-win32.php on line 50
060+ Warning: rename(C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp,/no/such/file/dir): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
060- Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find the path specified. (code: 3) in %srename_variation13-win32.php on line 42
063+ Warning: rename(/no/such/file/dir,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
063- Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find the path specified. (code: 3) in %srename_variation13-win32.php on line 50
067+ Warning: rename(C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp,php/php): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 45
067- Warning: rename(%safile.tmp,php/php): The system cannot find the path specified. (code: 3) in %srename_variation13-win32.php on line 42
070+ Warning: rename(php/php,C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php-test-pack-5.4.1RC2\ext\standard\tests\file\rename_variation13-win32.php on line 53
070- Warning: rename(php/php,%safile.tmp): The system cannot find the path specified. (code: 3) in %srename_variation13-win32.php on line 50

Expected result:
----------------
pass

Actual result:
--------------
fail

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-24 11:28 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0e12a778df388c85bb8aeb41e8c33a983dd182f1
Log: Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
 [2012-05-24 11:44 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-05-24 11:44 UTC] ab@php.net
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.


 [2014-10-07 23:25 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0e12a778df388c85bb8aeb41e8c33a983dd182f1
Log: Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
 [2014-10-07 23:36 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0e12a778df388c85bb8aeb41e8c33a983dd182f1
Log: Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 13:01:23 2020 UTC