diff options
author | Ant Phillips <ant@php.net> | 2008-12-30 16:49:43 +0000 |
---|---|---|
committer | Ant Phillips <ant@php.net> | 2008-12-30 16:49:43 +0000 |
commit | f17c2db73674d77991ca6ef0edb7483dce10b682 (patch) | |
tree | ec73115630b4f4c6c99adc8e792a94a41efa6ea5 /ext/standard/tests/file/006_variation2.phpt | |
parent | 553d34e8118894f5826e7260fb7d176cbfe7478f (diff) | |
download | php-git-f17c2db73674d77991ca6ef0edb7483dce10b682.tar.gz |
Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results).
Diffstat (limited to 'ext/standard/tests/file/006_variation2.phpt')
-rw-r--r-- | ext/standard/tests/file/006_variation2.phpt | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/ext/standard/tests/file/006_variation2.phpt b/ext/standard/tests/file/006_variation2.phpt index 9c9707664e..d56207a349 100644 --- a/ext/standard/tests/file/006_variation2.phpt +++ b/ext/standard/tests/file/006_variation2.phpt @@ -11,7 +11,7 @@ $fp = fopen($filename, 'w'); fclose($fp); if(fileowner($filename) == 0) { unlink ($filename); - die('skip...cannot be run as root\n'); + die('skip cannot be run as root'); } unlink($filename); @@ -94,94 +94,93 @@ rmdir(dirname(__FILE__)."/006_variation2"); *** Testing fileperms(), chmod() with miscellaneous permissions *** -- Iteration 1 -- bool(true) -%d +107777 bool(true) -%d +47777 -- Iteration 2 -- bool(true) -%d +100000 bool(true) -%d +40000 -- Iteration 3 -- bool(true) -%d +101000 bool(true) -%d +41000 -- Iteration 4 -- bool(true) -%d +101111 bool(true) -%d +41111 -- Iteration 5 -- bool(true) -%d +107001 bool(true) -%d +47001 -- Iteration 6 -- bool(true) -%d +100001 bool(true) -%d +40001 -- Iteration 7 -- bool(true) -%d +101411 bool(true) -%d +41411 -- Iteration 8 -- bool(true) -%d +107141 bool(true) -%d +47141 -- Iteration 9 -- bool(true) -%d +100637 bool(true) -%d +40637 -- Iteration 10 -- bool(true) -%d +103567 bool(true) -%d +43567 -- Iteration 11 -- bool(true) -%d +103567 bool(true) -%d +43567 -- Iteration 12 -- Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +103567 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +43567 -- Iteration 13 -- Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +103567 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +43567 -- Iteration 14 -- Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +103567 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +43567 -- Iteration 15 -- Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +103567 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d NULL -%d +43567 *** Done *** - |