Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
stderr is supposed to be redirected to NUL (which is roughly equivalent
to /dev/null on POSIX), but actually was redirected to a file.
  • Loading branch information
cmb69 committed May 14, 2019
1 parent ad63bd1 commit 704a0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/tests/bug55509.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 704a0ab

Please sign in to comment.