From 704a0ab0c9c0dd2e2b2041f3934df61d7b588cc9 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 14 May 2019 10:23:58 +0200 Subject: 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. --- Zend/tests/bug55509.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1