mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
4941e3fe44
sys_get_temp_dir() returns a Windows-style path (\\ instead of /) on Windows. This is why a Windows specific test is required. Skipping req60524.phpt on Windows. Adding -win32 fork for use only on Windows. Fixes test bug #64396.
15 lines
259 B
PHP
15 lines
259 B
PHP
--TEST--
|
|
Req #60524 (Specify temporary directory)
|
|
--INI--
|
|
sys_temp_dir=/path/to/temp/dir
|
|
--SKIPIF--
|
|
<?php
|
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
|
die('skip non-windows only test');
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php echo sys_get_temp_dir(); ?>
|
|
--EXPECT--
|
|
/path/to/temp/dir
|