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/phar_extract.phpt | |
parent | 6866b45a48a773f434c04828c9d0a05ae9d9cf3f (diff) | |
download | php-git-14d53417879256044c40b2ef8d0aa32b1f215acb.tar.gz |
fix test concurrency
Diffstat (limited to 'ext/phar/tests/phar_extract.phpt')
-rw-r--r-- | ext/phar/tests/phar_extract.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/phar/tests/phar_extract.phpt b/ext/phar/tests/phar_extract.phpt index 01d65f9091..bc545236fd 100644 --- a/ext/phar/tests/phar_extract.phpt +++ b/ext/phar/tests/phar_extract.phpt @@ -38,9 +38,9 @@ var_dump(file_get_contents(dirname(__FILE__) . '/extract1/file1.txt')); $a->extractTo(dirname(__FILE__) . '/extract1', 'subdir/ectory/file.txt'); var_dump(file_get_contents(dirname(__FILE__) . '/extract1/subdir/ectory/file.txt')); -$a->extractTo(dirname(__FILE__) . '/extract2', array('file2.txt', 'one/level')); -var_dump(file_get_contents(dirname(__FILE__) . '/extract2/file2.txt')); -var_dump(is_dir(dirname(__FILE__) . '/extract2/one/level')); +$a->extractTo(dirname(__FILE__) . '/extract1-2', array('file2.txt', 'one/level')); +var_dump(file_get_contents(dirname(__FILE__) . '/extract1-2/file2.txt')); +var_dump(is_dir(dirname(__FILE__) . '/extract1-2/one/level')); try { $a->extractTo(dirname(__FILE__) . '/whatever', 134); @@ -119,7 +119,7 @@ $e = dirname(__FILE__) . '/extract1/'; @rmdir($e . 'subdir/ectory'); @rmdir($e . 'subdir'); @rmdir($e); -$e = dirname(__FILE__) . '/extract2/'; +$e = dirname(__FILE__) . '/extract1-2/'; @unlink($e . 'file2.txt'); @rmdir($e . 'one/level'); @rmdir($e . 'one'); |