summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/tests/bug71443.phpt2
-rw-r--r--ext/opcache/tests/bug76275.phpt2
-rw-r--r--ext/readline/tests/bug69054.phpt2
-rw-r--r--ext/session/tests/bug32330.phpt8
-rw-r--r--ext/session/tests/session_set_save_handler_sid_002.phpt2
-rw-r--r--ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt2
-rw-r--r--ext/standard/tests/file/bug41655_1-win32.phpt2
-rw-r--r--ext/standard/tests/file/bug41655_1.phpt2
8 files changed, 11 insertions, 11 deletions
diff --git a/ext/opcache/tests/bug71443.phpt b/ext/opcache/tests/bug71443.phpt
index 558ac075b6..54c123d4ad 100644
--- a/ext/opcache/tests/bug71443.phpt
+++ b/ext/opcache/tests/bug71443.phpt
@@ -3,7 +3,7 @@ Bug #71443 (Segfault using built-in webserver with intl using symfony)
--INI--
opcache.enable=1
opcache.enable_cli=1
-opcache.file_cache=/tmp/
+opcache.file_cache={TMP}
opcache.file_cache_only=1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
diff --git a/ext/opcache/tests/bug76275.phpt b/ext/opcache/tests/bug76275.phpt
index 77d8515fab..f4ecaa3eb3 100644
--- a/ext/opcache/tests/bug76275.phpt
+++ b/ext/opcache/tests/bug76275.phpt
@@ -3,7 +3,7 @@ Bug #76275: Assertion failure in file cache when unserializing empty try_catch_a
--INI--
opcache.enabled=1
opcache.enable_cli=1
-opcache.file_cache=/tmp
+opcache.file_cache={TMP}
--FILE--
<?php
if (PHP_VERSION_ID >= 70000) {
diff --git a/ext/readline/tests/bug69054.phpt b/ext/readline/tests/bug69054.phpt
index f17f803ea4..5b263c8dc4 100644
--- a/ext/readline/tests/bug69054.phpt
+++ b/ext/readline/tests/bug69054.phpt
@@ -3,7 +3,7 @@ Bug #69054 (Null dereference in readline_(read|write)_history() without paramete
--SKIPIF--
<?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
--INI--
-open_basedir=/tmp
+open_basedir={TMP}
--FILE--
<?php readline_read_history(); ?>
==DONE==
diff --git a/ext/session/tests/bug32330.phpt b/ext/session/tests/bug32330.phpt
index b806ca6825..4d432ef1d4 100644
--- a/ext/session/tests/bug32330.phpt
+++ b/ext/session/tests/bug32330.phpt
@@ -6,7 +6,7 @@ Bug #32330 (session_destroy, "Failed to initialize storage module", custom sessi
session.use_trans_sid=0
session.use_cookies=1
session.name=sid
-session.save_path=/tmp
+session.save_path={TMP}
session.gc_probability=1
session.gc_divisor=1
session.save_handler=files
@@ -69,17 +69,17 @@ $_SESSION['E'] = 'F';
?>
--EXPECTF--
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
write: id = %s, data = A|s:1:"B";
close
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
destroy: id = %s
close
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
write: id = %s, data = E|s:1:"F";
diff --git a/ext/session/tests/session_set_save_handler_sid_002.phpt b/ext/session/tests/session_set_save_handler_sid_002.phpt
index 9542832684..76ffb63991 100644
--- a/ext/session/tests/session_set_save_handler_sid_002.phpt
+++ b/ext/session/tests/session_set_save_handler_sid_002.phpt
@@ -3,7 +3,7 @@ Test session_set_save_handler() function: create_sid
--INI--
session.save_handler=files
session.name=PHPSESSID
-session.save_path=/tmp
+session.save_path={TMP}
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt b/ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt
index a5abb72d86..27ad4fa4ec 100644
--- a/ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt
+++ b/ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt
@@ -4,7 +4,7 @@ SQLite3::loadExtension with empty extension test
Jelle Lampaert
#Belgian Testfest 2009
--INI--
-sqlite3.extension_dir=/tmp
+sqlite3.extension_dir={TMP}
--SKIPIF--
<?php
require_once(__DIR__ . '/skipif.inc');
diff --git a/ext/standard/tests/file/bug41655_1-win32.phpt b/ext/standard/tests/file/bug41655_1-win32.phpt
index 631d91079b..f21ad0088b 100644
--- a/ext/standard/tests/file/bug41655_1-win32.phpt
+++ b/ext/standard/tests/file/bug41655_1-win32.phpt
@@ -9,7 +9,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--INI--
-open_basedir=/tmp
+open_basedir={TMP}
--FILE--
<?php
$a=glob("./*.jpeg");
diff --git a/ext/standard/tests/file/bug41655_1.phpt b/ext/standard/tests/file/bug41655_1.phpt
index e4466821f9..203d20b719 100644
--- a/ext/standard/tests/file/bug41655_1.phpt
+++ b/ext/standard/tests/file/bug41655_1.phpt
@@ -9,7 +9,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--INI--
-open_basedir=/tmp
+open_basedir={TMP}
--FILE--
<?php
$a=glob("./*.jpeg");