summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2009-01-21 19:07:40 +0000
committerDmitry Stogov <dmitry@php.net>2009-01-21 19:07:40 +0000
commita928b88da9d6e20062404443778af93ca5ce0900 (patch)
tree072e6d45d1f07cf1f89796a0078f40d1ba81b06d /ext/standard/tests/file
parentbd9ad75f416825f9b670dd30bd7f861a2c13bf7d (diff)
downloadphp-git-a928b88da9d6e20062404443778af93ca5ce0900.tar.gz
Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD
Diffstat (limited to 'ext/standard/tests/file')
-rw-r--r--ext/standard/tests/file/fopen_variation10-win32.phpt6
-rw-r--r--ext/standard/tests/file/fopen_variation11-win32.phpt6
2 files changed, 2 insertions, 10 deletions
diff --git a/ext/standard/tests/file/fopen_variation10-win32.phpt b/ext/standard/tests/file/fopen_variation10-win32.phpt
index 10184b2e86..bf8d3889fa 100644
--- a/ext/standard/tests/file/fopen_variation10-win32.phpt
+++ b/ext/standard/tests/file/fopen_variation10-win32.phpt
@@ -110,11 +110,7 @@ file not opened for read
Warning: fclose() expects parameter 1 to be resource, boolean given in %s on line %d
--c:fopen10.tmpdirTwo--
-
-Warning: fopen(c:fopen10.tmpdirTwo\fopen_variation10.tmp): failed to open stream: No such file or directory in %s on line %d
-file not opened for read
-
-Warning: fclose() expects parameter 1 to be resource, boolean given in %s on line %d
+file in fopen10.tmpdirTwo
--c:adir--
diff --git a/ext/standard/tests/file/fopen_variation11-win32.phpt b/ext/standard/tests/file/fopen_variation11-win32.phpt
index 23a557ab01..cc33a4eb49 100644
--- a/ext/standard/tests/file/fopen_variation11-win32.phpt
+++ b/ext/standard/tests/file/fopen_variation11-win32.phpt
@@ -109,11 +109,7 @@ file not opened for read
Warning: fclose() expects parameter 1 to be resource, boolean given in %s on line %d
--c:fopen11.tmpdirTwo--
-
-Warning: fopen(c:fopen11.tmpdirTwo\fopen_variation11.tmp): failed to open stream: No such file or directory in %s on line %d
-file not opened for read
-
-Warning: fclose() expects parameter 1 to be resource, boolean given in %s on line %d
+file in fopen11.tmpdirTwo
--c:adir--