Skip to content

Commit

Permalink
Skip test if SeCreateSymbolicLinkPrivilege is not given
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jul 3, 2020
1 parent 6f0b733 commit 1b961c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ext/standard/tests/file/lstat_stat_variation20.phpt
Original file line number Diff line number Diff line change
@@ -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
/* Prototype: array lstat ( string $filename );
Expand Down

0 comments on commit 1b961c0

Please sign in to comment.