mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Multiple tests had to be changed to escape the arguments in shell commands. Some tests are skipped because they behave differently with spaces in the path versus without. One notable example of this is the hashbang test which does not work because spaces in hashbangs paths are not supported in Linux. Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>
19 lines
342 B
PHP
19 lines
342 B
PHP
--TEST--
|
|
Bug #73615 (phpdbg without option never load .phpdbginit at startup)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!getenv('TEST_PHPDBG_EXECUTABLE')) die("SKIP: No TEST_PHPDBG_EXECUTABLE specified");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$phpdbg = getenv('TEST_PHPDBG_EXECUTABLE_ESCAPED');
|
|
|
|
chdir(__DIR__."/bug73615");
|
|
|
|
print `$phpdbg -qn`;
|
|
|
|
?>
|
|
--EXPECT--
|
|
Executed .phpdbginit
|