mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
update for conflicting file test
This commit is contained in:
parent
1f31e7ddea
commit
8c5c17c3a1
@ -98,6 +98,10 @@ echo "goompness/oggbrzitzkee.php exists? ";
|
||||
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 @@ array(1) {
|
||||
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) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user