Skip to content

Commit 1b961c0

Browse files
committed
Skip test if SeCreateSymbolicLinkPrivilege is not given
1 parent 6f0b733 commit 1b961c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/standard/tests/file/lstat_stat_variation20.phpt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
--TEST--
22
Test lstat() and stat() functions: usage variations - link names stored in array/object
3+
--SKIPIF--
4+
<?php
5+
if (PHP_OS_FAMILY === 'Windows') {
6+
include_once __DIR__ . '/windows_links/common.inc';
7+
skipIfSeCreateSymbolicLinkPrivilegeIsDisabled(__FILE__);
8+
}
9+
?>
310
--FILE--
411
<?php
512
/* Prototype: array lstat ( string $filename );

0 commit comments

Comments
 (0)