diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-03 09:02:55 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-03 09:08:59 +0200 |
commit | 1b961c0c423a0b868cc2e400a0fb3343711746a4 (patch) | |
tree | f215ae2c6bd1bad6c06fe3e06e5f316eb5ce2cb3 | |
parent | 6f0b73345a2c128f5584d5998d1e012c85b28637 (diff) | |
download | php-git-1b961c0c423a0b868cc2e400a0fb3343711746a4.tar.gz |
Skip test if SeCreateSymbolicLinkPrivilege is not given
-rw-r--r-- | ext/standard/tests/file/lstat_stat_variation20.phpt | 7 |
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 c6c2e3e6ae..305d93f49e 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 /* Prototype: array lstat ( string $filename ); |