summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-07-27 17:50:41 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-07-27 17:50:41 +0200
commit1aeff522b8e5ee77b9ae91bab59699db4dfc2c7e (patch)
treef082b6960aa54138a4cdafdaa09468bd2f6ec68f /ext/standard
parentd5b59b4303642adac91df2c93969a72bc0f5fa7d (diff)
downloadphp-git-1aeff522b8e5ee77b9ae91bab59699db4dfc2c7e.tar.gz
Revert "Fix #79806: realpath() erroneously resolves link to link"
This reverts commit d5b59b4303642adac91df2c93969a72bc0f5fa7d.
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/tests/file/realpath_basic4.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/tests/file/realpath_basic4.phpt b/ext/standard/tests/file/realpath_basic4.phpt
index 5f18dd9841..d782b6d618 100644
--- a/ext/standard/tests/file/realpath_basic4.phpt
+++ b/ext/standard/tests/file/realpath_basic4.phpt
@@ -1,5 +1,11 @@
--TEST--
Test realpath() with relative paths
+--SKIPIF--
+<?php
+if (substr(PHP_OS, 0, 3) == 'WIN') {
+ die('skip no symlinks on Windows');
+}
+?>
--FILE--
<?php
$file_path = dirname(__FILE__);