summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-07-03 09:10:37 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-07-03 09:10:37 +0200
commit807d6c04187de8e58cb2a7c316b39ab159d015ce (patch)
tree059253c4af92fbaa5ffd8c64cd1940dd20e76048
parenteee9a05015ce9012581c0f32d51822727626bbf5 (diff)
parent1b961c0c423a0b868cc2e400a0fb3343711746a4 (diff)
downloadphp-git-807d6c04187de8e58cb2a7c316b39ab159d015ce.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Skip test if SeCreateSymbolicLinkPrivilege is not given
-rw-r--r--ext/standard/tests/file/lstat_stat_variation20.phpt7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/standard/tests/file/lstat_stat_variation20.phpt b/ext/standard/tests/file/lstat_stat_variation20.phpt
index e7a334a7cd..d6c20024f9 100644
--- a/ext/standard/tests/file/lstat_stat_variation20.phpt
+++ b/ext/standard/tests/file/lstat_stat_variation20.phpt
@@ -1,5 +1,12 @@
--TEST--
Test lstat() and stat() functions: usage variations - link names stored in array/object
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows') {
+ include_once __DIR__ . '/windows_links/common.inc';
+ skipIfSeCreateSymbolicLinkPrivilegeIsDisabled(__FILE__);
+}
+?>
--FILE--
<?php
/* test for stats of link when their names are stored in object and array */