summaryrefslogtreecommitdiff
path: root/tests/basic/req60524-win.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/req60524-win.phpt')
-rw-r--r--tests/basic/req60524-win.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/basic/req60524-win.phpt b/tests/basic/req60524-win.phpt
new file mode 100644
index 0000000000..b2e7cfdab4
--- /dev/null
+++ b/tests/basic/req60524-win.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Req #60524 (Specify temporary directory)
+--INI--
+sys_temp_dir=C:\Windows
+--SKIPIF--
+<?php
+if( substr(PHP_OS, 0, 3) != "WIN" )
+ die('skip Run only on Windows');
+?>
+--FILE--
+<?php echo sys_get_temp_dir(); ?>
+--EXPECT--
+C:\\Windows