cvs: php-src /pear/tests pear_installer4.phpt
| From: | Greg Beaver | Date: | Sat, 29 May 2004 08:49:01 +0000 |
| Subject: | cvs: php-src /pear/tests pear_installer4.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-344@lists.php.net to get a copy of this message | ||
cellog Sat May 29 04:49:01 2004 EDT
Modified files:
/php-src/pear/tests pear_installer4.phpt
Log:
update for conflicting file test
http://cvs.php.net/diff.php/php-src/pear/tests/pear_installer4.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/pear/tests/pear_installer4.phpt
diff -u php-src/pear/tests/pear_installer4.phpt:1.2 php-src/pear/tests/pear_installer4.phpt:1.3
--- php-src/pear/tests/pear_installer4.phpt:1.2 Wed May 19 04:45:23 2004
+++ php-src/pear/tests/pear_installer4.phpt Sat May 29 04:49:01 2004
@@ -98,6 +98,10 @@
echo (file_exists($temp_path . DIRECTORY_SEPARATOR . 'php'
. DIRECTORY_SEPARATOR . 'groob' . DIRECTORY_SEPARATOR . 'goompness'
. DIRECTORY_SEPARATOR . 'oggbrzitzkee.php')) ? "yes\n" : "no\n";
+
+echo "Test conflicting files:\n";
+$installer->install(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'test-pkg6' .
DIRECTORY_SEPARATOR . 'conflictpackage.xml');
+
echo "After uninstall:\n";
$installer->uninstall('pkg6');
var_dump($reg->listPackages());
@@ -216,6 +220,11 @@
zoorb.php exists? yes
goompness/Mopreeb.php exists? yes
goompness/oggbrzitzkee.php exists? yes
+Test conflicting files:
+Caught error: pkg6conflict: conflicting files found:
+groob\goompness\oggbrzitzkee.php (pkg6)
+ groob\goompness\Mopreeb.php (pkg6)
+
After uninstall:
array(0) {
}