summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosie Messa <jmessa@php.net>2008-03-10 15:10:32 +0000
committerJosie Messa <jmessa@php.net>2008-03-10 15:10:32 +0000
commit1d4f18734f23d87ad593b4fd5653e45b8d9f4c02 (patch)
treee1c9f194d0b8f441c75a26f08581daf99b3594a9
parentaf8b8480d59a50d0e26cb44950b3e726936cceec (diff)
downloadphp-git-1d4f18734f23d87ad593b4fd5653e45b8d9f4c02.tar.gz
- Modified expected output to allow tests to work on all platforms
-rw-r--r--ext/standard/tests/dir/dir_variation7.phpt4
-rw-r--r--ext/standard/tests/dir/opendir_error2.phpt4
-rw-r--r--ext/standard/tests/dir/opendir_variation1.phpt24
-rw-r--r--ext/standard/tests/dir/opendir_variation5.phpt4
-rw-r--r--ext/standard/tests/dir/opendir_variation6.phpt8
5 files changed, 22 insertions, 22 deletions
diff --git a/ext/standard/tests/dir/dir_variation7.phpt b/ext/standard/tests/dir/dir_variation7.phpt
index bb10e607a3..ca168f90aa 100644
--- a/ext/standard/tests/dir/dir_variation7.phpt
+++ b/ext/standard/tests/dir/dir_variation7.phpt
@@ -85,10 +85,10 @@ rmdir($parent_dir_path);
*** Testing dir() : remove execute permission from the parent dir ***
-- After restricting 1st level parent directory --
-Warning: dir(%s/dir_variation7/sub_dir/child_dir): failed to open dir: Permission denied in %s on line %d
+Warning: dir(%s/dir_variation7/sub_dir/child_dir): failed to open dir: %s in %s on line %d
bool(false)
-- After restricting parent directory --
-Warning: dir(%s/dir_variation7/sub_dir/child_dir): failed to open dir: Permission denied in %s on line %d
+Warning: dir(%s/dir_variation7/sub_dir/child_dir): failed to open dir: %s in %s on line %d
bool(false)
Done \ No newline at end of file
diff --git a/ext/standard/tests/dir/opendir_error2.phpt b/ext/standard/tests/dir/opendir_error2.phpt
index 9b3a110bcd..0762be2ad3 100644
--- a/ext/standard/tests/dir/opendir_error2.phpt
+++ b/ext/standard/tests/dir/opendir_error2.phpt
@@ -27,11 +27,11 @@ var_dump(opendir('idonotexist'));
-- Pass a non-existent absolute path: --
-Warning: opendir(%s/idonotexist): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(%s/idonotexist): failed to open dir: %s in %s on line %d
bool(false)
-- Pass a non-existent relative path: --
-Warning: opendir(idonotexist): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(idonotexist): failed to open dir: %s in %s on line %d
bool(false)
===DONE===
diff --git a/ext/standard/tests/dir/opendir_variation1.phpt b/ext/standard/tests/dir/opendir_variation1.phpt
index bcf64dd26e..dc10356f56 100644
--- a/ext/standard/tests/dir/opendir_variation1.phpt
+++ b/ext/standard/tests/dir/opendir_variation1.phpt
@@ -115,47 +115,47 @@ rmdir($path);
-- Iteration 1 --
-Warning: opendir(0): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(0): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 2 --
-Warning: opendir(1): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(1): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 3 --
-Warning: opendir(12345): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(12345): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 4 --
-Warning: opendir(-2345): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(-2345): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 5 --
-Warning: opendir(10.5): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(10.5): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 6 --
-Warning: opendir(-10.5): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(-10.5): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 7 --
-Warning: opendir(123456789000): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(123456789000): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 8 --
-Warning: opendir(1.23456789E-9): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(1.23456789E-9): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 9 --
-Warning: opendir(0.5): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(0.5): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 10 --
@@ -166,7 +166,7 @@ bool(false)
-- Iteration 12 --
-Warning: opendir(1): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(1): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 13 --
@@ -174,7 +174,7 @@ bool(false)
-- Iteration 14 --
-Warning: opendir(1): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(1): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 15 --
@@ -196,7 +196,7 @@ resource(%d) of type (stream)
-- Iteration 20 --
-Warning: opendir(string): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(string): failed to open dir: %s in %s on line %d
bool(false)
-- Iteration 21 --
diff --git a/ext/standard/tests/dir/opendir_variation5.phpt b/ext/standard/tests/dir/opendir_variation5.phpt
index 2e4497470c..f9bb38c68e 100644
--- a/ext/standard/tests/dir/opendir_variation5.phpt
+++ b/ext/standard/tests/dir/opendir_variation5.phpt
@@ -93,11 +93,11 @@ rmdir($parent_dir_path);
-- After restricting 1st level parent directory --
-Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: Permission denied in %s on line %d
+Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
bool(false)
-- After restricting parent directory --
-Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: Permission denied in %s on line %d
+Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
bool(false)
===DONE===
diff --git a/ext/standard/tests/dir/opendir_variation6.phpt b/ext/standard/tests/dir/opendir_variation6.phpt
index 29dfd948e9..01e8225d59 100644
--- a/ext/standard/tests/dir/opendir_variation6.phpt
+++ b/ext/standard/tests/dir/opendir_variation6.phpt
@@ -45,17 +45,17 @@ rmdir($dir_path);
-- Wildcard = '*' --
-Warning: opendir(%s/opendir_var*): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(%s/opendir_var*): failed to open dir: %s in %s on line %d
bool(false)
-Warning: opendir(%s/*): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(%s/*): failed to open dir: %s in %s on line %d
bool(false)
-- Wildcard = '?' --
-Warning: opendir(%s/opendir_variation6/sub_dir?): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(%s/opendir_variation6/sub_dir?): failed to open dir: %s in %s on line %d
bool(false)
-Warning: opendir(%s/opendir_variation6/sub?dir1): failed to open dir: No such file or directory in %s on line %d
+Warning: opendir(%s/opendir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
bool(false)
===DONE===