]> granicus.if.org Git - php/commitdiff
Skip test if SeCreateSymbolicLinkPrivilege is not given
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 3 Jul 2020 07:02:55 +0000 (09:02 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 3 Jul 2020 07:08:59 +0000 (09:08 +0200)
ext/standard/tests/file/lstat_stat_variation20.phpt

index c6c2e3e6ae80040571dcadbaff65a222172af58a..305d93f49e4c325cec5aa15396196cdaea304490 100644 (file)
@@ -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 );