diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-08 18:20:31 +0200 | 
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-08 18:20:31 +0200 | 
| commit | b0cf34a30c1edd43e4762f66ecde2c10454ca11e (patch) | |
| tree | 3b03954ec3411c35d54903039785bcc7bc57f598 /ext/standard/tests/file/is_executable_basic.phpt | |
| parent | bd21e202b9fa56102cc292b0c5fcc2f22377d850 (diff) | |
| parent | 8b5c351154284a88152ee3d166a32dc77316a658 (diff) | |
| download | php-git-b0cf34a30c1edd43e4762f66ecde2c10454ca11e.tar.gz | |
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/standard/tests/file/is_executable_basic.phpt')
| -rw-r--r-- | ext/standard/tests/file/is_executable_basic.phpt | 11 | 
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/standard/tests/file/is_executable_basic.phpt b/ext/standard/tests/file/is_executable_basic.phpt index ef2d2388cf..6c78d2be03 100644 --- a/ext/standard/tests/file/is_executable_basic.phpt +++ b/ext/standard/tests/file/is_executable_basic.phpt @@ -5,16 +5,7 @@ Test is_executable() function: basic functionality  if (substr(PHP_OS, 0, 3) == 'WIN') {      die('skip not for windows');  } -// Skip if being run by root (files are always readable, writeable and executable) -$filename = __DIR__."/is_executable_basic_root_check.tmp"; -$fp = fopen($filename, 'w'); -fclose($fp); -if(fileowner($filename) == 0) { -	unlink ($filename); -	die('skip cannot be run as root'); -} - -unlink($filename); +require __DIR__ . '/../skipif_root.inc';  ?>  --FILE--  <?php  | 
