diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2003-06-30 18:22:53 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2003-06-30 18:22:53 +0000 |
| commit | 832ffd197040f24d6e2074dc38a8a92885c5e462 (patch) | |
| tree | 41b3d8e5237d03ea769129f08c8ae2ebfcbc7f58 /tests | |
| parent | 00c83984a3b6de3633130670139f8d7b6e5863ef (diff) | |
| download | php-git-832ffd197040f24d6e2074dc38a8a92885c5e462.tar.gz | |
Fix 3 tests that didn't adequately specify the .ini settings they rely on
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basic/012.phpt | 1 | ||||
| -rw-r--r-- | tests/lang/bug21800.phpt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/basic/012.phpt b/tests/basic/012.phpt index 7e70f9a018..3297853286 100644 --- a/tests/basic/012.phpt +++ b/tests/basic/012.phpt @@ -4,6 +4,7 @@ Testing $argc and $argv handling (cli) <?php if(php_sapi_name()!='cli') echo 'skip'; ?> --INI-- register_argc_argv=1 +variables_order=GPS --ARGS-- ab cd ef 123 test --FILE-- diff --git a/tests/lang/bug21800.phpt b/tests/lang/bug21800.phpt index b835425c3d..72755e29a5 100644 --- a/tests/lang/bug21800.phpt +++ b/tests/lang/bug21800.phpt @@ -4,7 +4,8 @@ Bug #21800 (Segfault under interactive mode) <?php (PHP_SAPI != 'cli') and print "SKIP PHP binary is not cli"; ?> --FILE-- <?php -$fh = popen("{$_ENV['TEST_PHP_EXECUTABLE']} -a", 'w'); +$exe = getenv('TEST_PHP_EXECUTABLE'); +$fh = popen("$exe -a", 'w'); if ($fh !== false) { fwrite($fh, "<?php echo ':test:'; ?>\n\n"); fclose($fh); |
