summaryrefslogtreecommitdiff
path: root/Zend/tests/bug55509.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-05-14 10:23:58 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-05-14 10:23:58 +0200
commit704a0ab0c9c0dd2e2b2041f3934df61d7b588cc9 (patch)
treefc2b6ff99909352c76b4ce6da3e21ff7810df825 /Zend/tests/bug55509.phpt
parentad63bd169bd82347acd24e69fec500589f185272 (diff)
downloadphp-git-704a0ab0c9c0dd2e2b2041f3934df61d7b588cc9.tar.gz
Fix test case
stderr is supposed to be redirected to NUL (which is roughly equivalent to /dev/null on POSIX), but actually was redirected to a file.
Diffstat (limited to 'Zend/tests/bug55509.phpt')
-rw-r--r--Zend/tests/bug55509.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug55509.phpt b/Zend/tests/bug55509.phpt
index efcf918775..ff42ebca95 100644
--- a/Zend/tests/bug55509.phpt
+++ b/Zend/tests/bug55509.phpt
@@ -46,7 +46,7 @@ elseif (PHP_OS == 'FreeBSD') {
die('skip Not enough memory.');
}
} elseif (PHP_OS == "WINNT") {
- $s = trim(shell_exec("wmic OS get FreeVirtualMemory /Value 2>nil"));
+ $s = trim(shell_exec("wmic OS get FreeVirtualMemory /Value 2>nul"));
$freeMemory = explode('=', $s)[1]*1;
if ($freeMemory < 2.1*1024*1024) {