From: Anatol Belski Date: Thu, 1 Dec 2016 12:33:27 +0000 (+0100) Subject: fix condition X-Git-Tag: php-7.1.1RC1~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=615c9bfe5a38751e70e099de63d1385c2490b2e7;p=php fix condition --- diff --git a/ext/standard/tests/file/bug47517.phpt b/ext/standard/tests/file/bug47517.phpt index 7d7bcd583a..f8c9e41446 100644 --- a/ext/standard/tests/file/bug47517.phpt +++ b/ext/standard/tests/file/bug47517.phpt @@ -6,7 +6,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip only for Windows'); } exec('net session 2>&1', $out, $status); -if ($status) { +if (!$status) { die('skip test runs under an elevated user account'); } ?>