Skip to content

Commit a64fc00

Browse files
authored
tests: add php_history file check (php#13967)
1 parent d407266 commit a64fc00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sapi/cli/tests/017.phpt

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ foreach ($codes as $key => $code) {
6161
}
6262

6363
echo "\nDone\n";
64+
$dir = PHP_OS_FAMILY == 'Windows' ? getenv("USERPROFILE") : getenv("HOME");
65+
var_dump(file_exists($dir . '/.php_history'));
6466
?>
6567
--EXPECT--
6668
--------------
@@ -105,3 +107,4 @@ Interactive shell
105107
Parse error: Unmatched ')' in php shell code on line 1
106108

107109
Done
110+
bool(true)

0 commit comments

Comments
 (0)