fix some failing tests

This commit is contained in:
Stanislav Malyshev committed 2011-05-23 07:06:04 +00:00
1 parent 184f80ff66
commit 9b8acf87a6
2 files changed
+3 -9

No files matched your search

@@ -71,14 +71,8 @@ echo "Done";
*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations ***
*** testing touch ***
Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
bool(true)
bool(true)
@@ -11,9 +11,9 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
--FILE--
<?php
/* Prototype : int umask([int mask])
* Description: Return or change the umask
* Description: Return or change the umask
* Source code: ext/standard/file.c
* Alias to functions:
* Alias to functions:
*/
echo "*** Testing umask() : usage variation ***\n";
@@ -110,7 +110,7 @@ foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
umask(0);
var_dump(umask($value));
var_dump( umask());
var_dump( umask() & 0777);
};
?>