Browse Source

avoid being deleted by phpize clean

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1000 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
5cd90126e7
  1. 0
      tests/include-skipif.inc
  2. 0
      tests/sub-a.inc
  3. 0
      tests/sub-b.inc
  4. 10
      tests/xcache_include_absolute.phpt
  5. 10
      tests/xcache_include_relative_cwd.phpt
  6. 10
      tests/xcache_include_relative_file.phpt

0
tests/include-skipif.php → tests/include-skipif.inc

0
tests/sub-a.php → tests/sub-a.inc

0
tests/sub-b.php → tests/sub-b.inc

10
tests/xcache_include_absolute.phpt

@ -2,15 +2,15 @@
include absolute path
--SKIPIF--
<?php
require("include-skipif.php");
require("include-skipif.inc");
?>
--FILE--
<?php
include __DIR__ . "/sub-a.php";
include __DIR__ . "/sub-b.php";
include __DIR__ . "/sub-a.inc";
include __DIR__ . "/sub-b.inc";
?>
--EXPECTF--
%stests
%stests%ssub-a.php
%stests%ssub-a.inc
%stests
%stests%ssub-b.php
%stests%ssub-b.inc

10
tests/xcache_include_relative_cwd.phpt

@ -2,16 +2,16 @@
include relative to current working dir
--SKIPIF--
<?php
require("include-skipif.php");
require("include-skipif.inc");
?>
--FILE--
<?php
chdir(__DIR__);
include "./sub-a.php";
include "./sub-b.php";
include "./sub-a.inc";
include "./sub-b.inc";
?>
--EXPECTF--
%stests
%stests%ssub-a.php
%stests%ssub-a.inc
%stests
%stests%ssub-b.php
%stests%ssub-b.inc

10
tests/xcache_include_relative_file.phpt

@ -2,15 +2,15 @@
include relative to current file
--SKIPIF--
<?php
require("include-skipif.php");
require("include-skipif.inc");
?>
--FILE--
<?php
include "sub-a.php";
include "sub-b.php";
include "sub-a.inc";
include "sub-b.inc";
?>
--EXPECTF--
%stests
%stests%ssub-a.php
%stests%ssub-a.inc
%stests
%stests%ssub-b.php
%stests%ssub-b.inc

Loading…
Cancel
Save