]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.4'
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 3 Jul 2020 07:10:37 +0000 (09:10 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 3 Jul 2020 07:10:37 +0000 (09:10 +0200)
* PHP-7.4:
  Skip test if SeCreateSymbolicLinkPrivilege is not given

1  2 
ext/standard/tests/file/lstat_stat_variation20.phpt

index e7a334a7cd20544fb74de8595f52f982c6a2a544,305d93f49e4c325cec5aa15396196cdaea304490..d6c20024f995e7efb70cccee7acc0381b8490b09
@@@ -1,7 -1,21 +1,14 @@@
  --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 );
 -   Description: Gives information about a file or symbolic link
 -
 -   Prototype: array stat ( string $filename );
 -   Description: Gives information about a file
 -*/
 -
  /* test for stats of link when their names are stored in object and array */
  
  $file_path = __DIR__;