com php-src: fix condition: ext/standard/tests/file/bug47517.phpt
| From: | Anatol Belski | Date: | Thu, 01 Dec 2016 12:33:27 +0000 |
| Subject: | com php-src: fix condition: ext/standard/tests/file/bug47517.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96125@lists.php.net to get a copy of this message | ||
Commit: 615c9bfe5a38751e70e099de63d1385c2490b2e7
Author: Anatol Belski <ab@php.net> Thu, 1 Dec 2016 13:33:27 +0100
Parents: 8ecbb660d0317b9365b24fcf6f58c2d3dcbc2c7a
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=615c9bfe5a38751e70e099de63d1385c2490b2e7
Log:
fix condition
Changed paths:
M ext/standard/tests/file/bug47517.phpt
Diff:
diff --git a/ext/standard/tests/file/bug47517.phpt b/ext/standard/tests/file/bug47517.phpt
index 7d7bcd5..f8c9e41 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');
}
?>