mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
improve skipif
This commit is contained in:
parent
54244ba565
commit
8ecbb660d0
@ -5,6 +5,10 @@ Bug #47517 test registry virtualization disabled
|
||||
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
||||
die('skip only for Windows');
|
||||
}
|
||||
exec('net session 2>&1', $out, $status);
|
||||
if ($status) {
|
||||
die('skip test runs under an elevated user account');
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user