At 12:38 18.12.2002, Derick Rethans wrote:
Hello,

can some developer on windows please fix the following tests:

regards,
Derick



================================================================================
E:\devel\php4\ext\standard\tests\file\001.phpt
================================================================================

---- EXPECTED OUTPUT
test.file does not exist
test.file exists
test.link exists
test.file is not a symlink
test.link is a symlink
test.file exists
test.link lstat and stat differ at element 1
test.link lstat and stat differ at element 2
test.link lstat and stat differ at element 7
test.link lstat and stat differ at element 8
test.link lstat and stat differ at element 9
test.link lstat and stat differ at element 10
test.file is file
test.link is link
test.file permissions are 0744
test.file size is 0
test.file is writeable
test.file is readable
test.file is executable
test.file is a regular file
test.link is a regular file
test.link is not a directory
../file is a directory
test.file is not a directory
test.file does not exist
test.file does not exist
---- ACTUAL OUTPUT
test.file does not exist
test.file exists

Fatal error: Call to undefined function: symlink() in E:\devel\php4\ext\standard\tests\file\001.php on line 18
---- FAILED

================================================================================
003- test.link exists
003+
004- test.file is not a symlink
004+ Fatal error: Call to undefined function: symlink() in E:\devel\php4\ext\standard\tests\file\001.php on line 18
005- test.link is a symlink
006- test.file exists
007- test.link lstat and stat differ at element 1
008- test.link lstat and stat differ at element 2
009- test.link lstat and stat differ at element 7
010- test.link lstat and stat differ at element 8
011- test.link lstat and stat differ at element 9
012- test.link lstat and stat differ at element 10
013- test.file is file
014- test.link is link
015- test.file permissions are 0744
016- test.file size is 0
017- test.file is writeable
018- test.file is readable
019- test.file is executable
020- test.file is a regular file
021- test.link is a regular file
022- test.link is not a directory
023- ../file is a directory
024- test.file is not a directory
025- test.file does not exist
026- test.file does not exist
================================================================================



================================================================================
E:\devel\php4\ext\standard\tests\file\003.phpt
================================================================================

---- EXPECTED OUTPUT
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
---- ACTUAL OUTPUT
boolean
boolean

Fatal error: Call to undefined function: is_executable() in E:\devel\php4\ext\standard\tests\file\003.php on line 14
---- FAILED

================================================================================
003- boolean
003+
004- boolean
004+ Fatal error: Call to undefined function: is_executable() in E:\devel\php4\ext\standard\tests\file\003.php on line 14
005- boolean
006- boolean
007- boolean
008- boolean
009- boolean
010- boolean
================================================================================


================================================================================
E:\devel\php4\ext\standard\tests\general_functions\getopt.phpt
================================================================================

---- EXPECTED OUTPUT
array(5) {
["v"]=>
bool(false)
["h"]=>
bool(false)
["d"]=>
string(4) "test"
["m"]=>
string(4) "1234"
["t"]=>
bool(false)
}
---- ACTUAL OUTPUT
Fatal error: Call to undefined function: getopt() in E:\devel\php4\ext\standard\tests\general_functions\getopt.php on line 2
---- FAILED

================================================================================
001- array(5) {
001+ Fatal error: Call to undefined function: getopt() in E:\devel\php4\ext\standard\tests\general_functions\getopt.php on line 2
002- ["v"]=>
003- bool(false)
004- ["h"]=>
005- bool(false)
006- ["d"]=>
007- string(4) "test"
008- ["m"]=>
009- string(4) "1234"
010- ["t"]=>
011- bool(false)
012- }
================================================================================
The getopt.phpt test can easiliy be fixed by checking for the function getopt which
is not available in windows builds.

marcus


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to