The test self should be fixed(maybe relates to env?)

Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt"

This reverts commit 69e26f9f8f.
This commit is contained in:
Xinchen Hui 2016-02-29 15:19:18 +08:00
parent d0b3a72cea
commit b79b036a31

View file

@ -402,7 +402,7 @@ PHP_FUNCTION(readline_read_history)
return;
}
if (!arg || php_check_open_basedir(arg) != 0) {
if (arg && php_check_open_basedir(arg)) {
RETURN_FALSE;
}