diff options
-rwxr-xr-x | ext/spl/tests/spl_fileinfo_getlinktarget_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/spl_fileinfo_getlinktarget_basic.phpt b/ext/spl/tests/spl_fileinfo_getlinktarget_basic.phpt index 399d9a31aa..cee557e330 100755 --- a/ext/spl/tests/spl_fileinfo_getlinktarget_basic.phpt +++ b/ext/spl/tests/spl_fileinfo_getlinktarget_basic.phpt @@ -8,7 +8,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms ?> --FILE-- <?php -$link = 'test_link'; +$link = __DIR__ . '/test_link'; symlink(__FILE__, $link ); $fileInfo = new SplFileInfo($link); |