diff options
author | Michael Wallner <mike@php.net> | 2013-09-18 10:52:51 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-09-18 10:52:51 +0200 |
commit | 14d53417879256044c40b2ef8d0aa32b1f215acb (patch) | |
tree | d02364732fbe548682a7dbe6462eb639972d917f /ext/phar/tests/files | |
parent | 6866b45a48a773f434c04828c9d0a05ae9d9cf3f (diff) | |
download | php-git-14d53417879256044c40b2ef8d0aa32b1f215acb.tar.gz |
fix test concurrency
Diffstat (limited to 'ext/phar/tests/files')
-rw-r--r-- | ext/phar/tests/files/phar_oo_test.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/phar/tests/files/phar_oo_test.inc b/ext/phar/tests/files/phar_oo_test.inc index e92b4444c1..45421568de 100644 --- a/ext/phar/tests/files/phar_oo_test.inc +++ b/ext/phar/tests/files/phar_oo_test.inc @@ -2,7 +2,8 @@ ini_set('date.timezone', 'GMT'); -$fname = dirname(__FILE__) . '/phar_oo_test.phar.php'; +$tname = basename(current(get_included_files()), ".php"); +$fname = dirname(__FILE__) . "/$tname.phar.php"; $pname = 'phar://' . $fname; $file = (binary)'<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>'; |