summaryrefslogtreecommitdiff
path: root/tests/basic/req60524.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/req60524.phpt')
-rw-r--r--tests/basic/req60524.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/basic/req60524.phpt b/tests/basic/req60524.phpt
new file mode 100644
index 0000000000..7cc3edfabf
--- /dev/null
+++ b/tests/basic/req60524.phpt
@@ -0,0 +1,14 @@
+--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