diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-10-02 14:31:04 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-10-02 14:31:04 +0000 |
| commit | 9d0f64268977fdbc01b1a68c3e57c8faaff54b47 (patch) | |
| tree | 2002a17cd6ba162c9282219a8da1585f6c1b4346 | |
| parent | 8acdfd223f59d206a3e1338b80779da78bff4928 (diff) | |
| download | php-git-9d0f64268977fdbc01b1a68c3e57c8faaff54b47.tar.gz | |
fix tests
| -rw-r--r-- | ext/zip/tests/bug7658.phpt | 2 | ||||
| -rw-r--r-- | ext/zip/tests/oo_addfile.phpt | 4 | ||||
| -rw-r--r-- | ext/zip/tests/oo_namelocate.phpt | 2 | ||||
| -rw-r--r-- | ext/zip/tests/oo_rename.phpt | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/zip/tests/bug7658.phpt b/ext/zip/tests/bug7658.phpt index 73096f2da4..3372b0d121 100644 --- a/ext/zip/tests/bug7658.phpt +++ b/ext/zip/tests/bug7658.phpt @@ -8,7 +8,7 @@ if(!extension_loaded('zip')) die('skip'); --FILE-- <?php $dirname = dirname(__FILE__) . '/'; -include $dirname . 'utils.php'; +include $dirname . 'utils.inc'; $file = $dirname . '__tmp_bug7658.odt'; $zip = new ZipArchive(); copy($dirname . 'bug7658.odt', $file); diff --git a/ext/zip/tests/oo_addfile.phpt b/ext/zip/tests/oo_addfile.phpt index d0950447c6..ab79780999 100644 --- a/ext/zip/tests/oo_addfile.phpt +++ b/ext/zip/tests/oo_addfile.phpt @@ -9,7 +9,7 @@ if(!extension_loaded('zip')) die('skip'); <?php $dirname = dirname(__FILE__) . '/'; -include $dirname . 'utils.php'; +include $dirname . 'utils.inc'; $file = $dirname . '__tmp_oo_addfile.zip'; copy($dirname . 'test.zip', $file); @@ -18,7 +18,7 @@ $zip = new ZipArchive; if (!$zip->open($file)) { exit('failed'); } -if (!$zip->addFile($dirname . 'utils.php', 'test.php')) { +if (!$zip->addFile($dirname . 'utils.inc', 'test.php')) { echo "failed\n"; } if ($zip->status == ZIPARCHIVE::ER_OK) { diff --git a/ext/zip/tests/oo_namelocate.phpt b/ext/zip/tests/oo_namelocate.phpt index e7a844817f..bbe7ec55d9 100644 --- a/ext/zip/tests/oo_namelocate.phpt +++ b/ext/zip/tests/oo_namelocate.phpt @@ -8,7 +8,7 @@ if(!extension_loaded('zip')) die('skip'); --FILE-- <?php $dirname = dirname(__FILE__) . '/'; -include $dirname . 'utils.php'; +include $dirname . 'utils.inc'; $file = $dirname . '__tmp_oo_rename.zip'; @unlink($file); diff --git a/ext/zip/tests/oo_rename.phpt b/ext/zip/tests/oo_rename.phpt index 37339a3bf5..98489ae256 100644 --- a/ext/zip/tests/oo_rename.phpt +++ b/ext/zip/tests/oo_rename.phpt @@ -8,7 +8,7 @@ if(!extension_loaded('zip')) die('skip'); --FILE-- <?php $dirname = dirname(__FILE__) . '/'; -include $dirname . 'utils.php'; +include $dirname . 'utils.inc'; $file = $dirname . '__tmp_oo_rename.zip'; @unlink($file); |
