use {TMP} placeholder in phpt tests

This commit is contained in:
Holly Li (WIPRO LIMITED) 2019-05-21 07:53:08 +02:00 committed by Christoph M. Becker
parent a8a019d68a
commit 202e6936d6
8 changed files with 11 additions and 11 deletions

View file

@ -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'); ?>

View file

@ -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

View file

@ -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==

View file

@ -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";

View file

@ -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--

View file

@ -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'); ?>
--FILE--

View file

@ -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");

View file

@ -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");