pajoye Mon, 05 Sep 2011 10:29:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316141
Log: - update test to the zeng arg path argument Changed paths: U php/php-src/branches/PHP_5_4/ext/standard/tests/file/file_put_contents_variation8-win32.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/file/glob_variation-win32.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/file/readfile_variation10-win32.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/file/stat_error-win32.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/file/tempnam_variation7-win32.phpt U php/php-src/trunk/ext/standard/tests/file/file_put_contents_variation8-win32.phpt U php/php-src/trunk/ext/standard/tests/file/glob_variation-win32.phpt U php/php-src/trunk/ext/standard/tests/file/readfile_variation10-win32.phpt U php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt U php/php-src/trunk/ext/standard/tests/file/stat_error-win32.phpt U php/php-src/trunk/ext/standard/tests/file/tempnam_variation7-win32.phpt
Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/file_put_contents_variation8-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/file_put_contents_variation8-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/file_put_contents_variation8-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -78,12 +78,12 @@ -- Filename: \0 -- -Warning: file_put_contents(): Filename cannot be empty in %s on line %d +Warning: file_put_contents() expects parameter 1 to be a valid path, string given in %s on line %d Failed to write data to: \0 -- Filename: array() -- -Warning: file_put_contents() expects parameter 1 to be string, array given in %s on line %d +Warning: file_put_contents() expects parameter 1 to be a valid path, array given in %s on line %d Failed to write data to: array() -- Filename: /no/such/file/dir -- @@ -95,4 +95,4 @@ Warning: file_put_contents(php/php): failed to open stream: %s in %s on line %d Failed to write data to: php/php -===Done=== \ No newline at end of file +===Done=== Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/glob_variation-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/glob_variation-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/glob_variation-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -325,21 +325,25 @@ } -- Iteration 8 -- -array(0) { -} -array(0) { -} -array(0) { -} -array(1) { - [0]=> - string(%d) "%s/glob_variation/WONDER5" -} -array(0) { -} -array(0) { -} +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + -- Iteration 9 -- array(0) { } @@ -441,8 +445,9 @@ array(0) { } -- Iteration 8 -- -array(0) { -} + +Warning: glob() expects parameter 1 to be a valid path, string given in %sglob_variation-win32.php on line %d +NULL -- Iteration 9 -- array(0) { } Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/readfile_variation10-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/readfile_variation10-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/readfile_variation10-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -71,11 +71,11 @@ -- Filename: \0 -- -Warning: readfile(): Filename cannot be empty in %s on line %d +Warning: readfile() expects parameter 1 to be a valid path, string given in %s on line %d -- Filename: array() -- -Warning: readfile() expects parameter 1 to be string, array given in %s on line %d +Warning: readfile() expects parameter 1 to be a valid path, array given in %s on line %d -- Filename: /no/such/file/dir -- @@ -84,4 +84,4 @@ -- Filename: php/php -- Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d -===Done=== \ No newline at end of file +===Done=== Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -108,19 +108,21 @@ bool(false) -- 6 testing ' ' string -- -Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d +Warning: rename() expects parameter 2 to be a valid path, string given in %s on line %d bool(false) -Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d +Warning: file_exists() expects parameter 1 to be a valid path, string given in %s on line %d + +Warning: rename() expects parameter 1 to be a valid path, string given in %s on line %d bool(false) -- 7 testing 'Array' array -- -Warning: rename() expects parameter 2 to be string, array given in %s on line %d +Warning: rename() expects parameter 2 to be a valid path, array given in %s on line %d bool(false) -Warning: file_exists() expects parameter 1 to be string, array given in %s on line %d +Warning: file_exists() expects parameter 1 to be a valid path, array given in %s on line %d -Warning: rename() expects parameter 1 to be string, array given in %s on line %d +Warning: rename() expects parameter 1 to be a valid path, array given in %s on line %d bool(false) -- 8 testing '/no/such/file/dir' string -- Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/stat_error-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/stat_error-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/stat_error-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -49,7 +49,7 @@ Warning: stat(): stat failed for 22 in %s on line %d bool(false) -Warning: stat() expects parameter 1 to be string, array given in %s on line %d +Warning: stat() expects parameter 1 to be a valid path, array given in %s on line %d NULL Done Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/tempnam_variation7-win32.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/file/tempnam_variation7-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/tempnam_variation7-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -89,15 +89,17 @@ File permissions are => 100666 File created in => temp dir -- Iteration 6 -- -File name is => %s%et%s -File permissions are => 100666 -File created in => temp dir + +Warning: tempnam() expects parameter 1 to be a valid path, string given in %stempnam_variation7-win32.php on line %d +-- File is not created -- + +Warning: unlink(): Invalid argument in %stempnam_variation7-win32.php on line %d -- Iteration 7 -- -Warning: tempnam() expects parameter 1 to be string, array given in %s on line %d +Warning: tempnam() expects parameter 1 to be a valid path, array given in %s on line %d -- File is not created -- -Warning: unlink(): %s in %s on line %d +Warning: unlink(): Invalid argument in %stempnam_variation7-win32.php on line %d -- Iteration 8 -- File name is => %s%et%s File permissions are => 100666 Modified: php/php-src/trunk/ext/standard/tests/file/file_put_contents_variation8-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/file_put_contents_variation8-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/file_put_contents_variation8-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -78,12 +78,12 @@ -- Filename: \0 -- -Warning: file_put_contents(): Filename cannot be empty in %s on line %d +Warning: file_put_contents() expects parameter 1 to be a valid path, string given in %s on line %d Failed to write data to: \0 -- Filename: array() -- -Warning: file_put_contents() expects parameter 1 to be string, array given in %s on line %d +Warning: file_put_contents() expects parameter 1 to be a valid path, array given in %s on line %d Failed to write data to: array() -- Filename: /no/such/file/dir -- @@ -95,4 +95,4 @@ Warning: file_put_contents(php/php): failed to open stream: %s in %s on line %d Failed to write data to: php/php -===Done=== \ No newline at end of file +===Done=== Modified: php/php-src/trunk/ext/standard/tests/file/glob_variation-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/glob_variation-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/glob_variation-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -325,21 +325,25 @@ } -- Iteration 8 -- -array(0) { -} -array(0) { -} -array(0) { -} -array(1) { - [0]=> - string(%d) "%s/glob_variation/WONDER5" -} -array(0) { -} -array(0) { -} +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + +Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on line %d +NULL + -- Iteration 9 -- array(0) { } @@ -441,8 +445,9 @@ array(0) { } -- Iteration 8 -- -array(0) { -} + +Warning: glob() expects parameter 1 to be a valid path, string given in %sglob_variation-win32.php on line %d +NULL -- Iteration 9 -- array(0) { } Modified: php/php-src/trunk/ext/standard/tests/file/readfile_variation10-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/readfile_variation10-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/readfile_variation10-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -71,11 +71,11 @@ -- Filename: \0 -- -Warning: readfile(): Filename cannot be empty in %s on line %d +Warning: readfile() expects parameter 1 to be a valid path, string given in %s on line %d -- Filename: array() -- -Warning: readfile() expects parameter 1 to be string, array given in %s on line %d +Warning: readfile() expects parameter 1 to be a valid path, array given in %s on line %d -- Filename: /no/such/file/dir -- @@ -84,4 +84,4 @@ -- Filename: php/php -- Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d -===Done=== \ No newline at end of file +===Done=== Modified: php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -106,21 +106,22 @@ Warning: rename( ,%s/renameVar13/afile.tmp): The filename, directory name, or volume label syntax is incorrect. (code: 123) in %s on line %d bool(false) --- 6 testing ' ' string -- - -Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d +-- 6 testing ' +Warning: rename() expects parameter 2 to be a valid path, string given in %s on line %d bool(false) -Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d +Warning: file_exists() expects parameter 1 to be a valid path, string given in %s on line %d + +Warning: rename() expects parameter 1 to be a valid path, string given in %s on line %d bool(false) -- 7 testing 'Array' array -- -Warning: rename() expects parameter 2 to be string, array given in %s on line %d +Warning: rename() expects parameter 2 to be a valid path, array given in %s on line %d bool(false) -Warning: file_exists() expects parameter 1 to be string, array given in %s on line %d +Warning: file_exists() expects parameter 1 to be a valid path, array given in %s on line %d -Warning: rename() expects parameter 1 to be string, array given in %s on line %d +Warning: rename() expects parameter 1 to be a valid path, array given in %s on line %d bool(false) -- 8 testing '/no/such/file/dir' string -- Modified: php/php-src/trunk/ext/standard/tests/file/stat_error-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/stat_error-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/stat_error-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -49,7 +49,7 @@ Warning: stat(): stat failed for 22 in %s on line %d bool(false) -Warning: stat() expects parameter 1 to be string, array given in %s on line %d +Warning: stat() expects parameter 1 to be a valid path, array given in %s on line %d NULL Done Modified: php/php-src/trunk/ext/standard/tests/file/tempnam_variation7-win32.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/file/tempnam_variation7-win32.phpt 2011-09-05 10:16:36 UTC (rev 316140) +++ php/php-src/trunk/ext/standard/tests/file/tempnam_variation7-win32.phpt 2011-09-05 10:29:12 UTC (rev 316141) @@ -89,15 +89,17 @@ File permissions are => 100666 File created in => temp dir -- Iteration 6 -- -File name is => %s%et%s -File permissions are => 100666 -File created in => temp dir + +Warning: tempnam() expects parameter 1 to be a valid path, string given in %stempnam_variation7-win32.php on line %d +-- File is not created -- + +Warning: unlink(): Invalid argument in %stempnam_variation7-win32.php on line %d -- Iteration 7 -- -Warning: tempnam() expects parameter 1 to be string, array given in %s on line %d +Warning: tempnam() expects parameter 1 to be a valid path, array given in %s on line %d -- File is not created -- -Warning: unlink(): %s in %s on line %d +Warning: unlink(): Invalid argument in %stempnam_variation7-win32.php on line %d -- Iteration 8 -- File name is => %s%et%s File permissions are => 100666
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php