Edit report at https://bugs.php.net/bug.php?id=61668&edit=1
ID: 61668 Comment by: a...@php.net Reported by: a...@php.net Summary: ext\standard\tests\file\rename_variation13-win32.phpt fails Status: Open Type: Bug Package: *Directory/Filesystem functions Operating System: windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: php 5.4 has additionally the line numbers shifted in the test, apply as well with git apply --binary 61668_php5.4.diff git thinks it's binary because of the \0 byte, previously it wasn't echoed and was not in the output check, but now it must be there Previous Comments: ------------------------------------------------------------------------ [2012-04-08 13:25:30] a...@php.net The following patch has been added/updated: Patch Name: 61668_php5.4.diff Revision: 1333891530 URL: https://bugs.php.net/patch-display.php?bug=61668&patch=61668_php5.4.diff&revision=1333891530 ------------------------------------------------------------------------ [2012-04-08 12:26:55] a...@php.net 61668_php5.3.diff should be applied with git apply --binary 61668_php5.3.diff ------------------------------------------------------------------------ [2012-04-08 12:26:16] a...@php.net The following patch has been added/updated: Patch Name: 61668_php5.3.diff Revision: 1333887976 URL: https://bugs.php.net/patch-display.php?bug=61668&patch=61668_php5.3.diff&revision=1333887976 ------------------------------------------------------------------------ [2012-04-08 11:29:51] a...@php.net Description: ------------ Test diff on php 5.3: 040+ -- 6 testing '^@' string -- 040- -- 6 testing ' Test diff on php 5.4: 005+ Warning: rename(-1,C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the file specified. (code: 2) in C:\php-sdk\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the file specified. (code: 2) in C:\php-sdk\php54\vc9\x86\php-src\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 042+ Warning: rename() expects parameter 2 to be a valid path, string given in C:\php-sdk\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp,/no/such/file/dir): The system cannot find the path specified. (code: 3) in C:\php-sdk\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp,php/php): The system cannot find the path specified. (code: 3) in C:\php-sdk\php54\vc9\x86\php-src\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\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp): The system cannot find the path specified. (code: 3) in C:\php-sdk\php54\vc9\x86\php-src\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: ---------------- test pass Actual result: -------------- test fail ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61668&edit=1