summaryrefslogtreecommitdiff
path: root/tests/phpunit/install-phpunit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/install-phpunit.sh')
-rw-r--r--tests/phpunit/install-phpunit.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/phpunit/install-phpunit.sh b/tests/phpunit/install-phpunit.sh
index 2d2b53ab..1f602935 100644
--- a/tests/phpunit/install-phpunit.sh
+++ b/tests/phpunit/install-phpunit.sh
@@ -8,7 +8,7 @@ has_binary () {
}
if [ `id -u` -ne 0 ]; then
- echo '*** ERROR' Must be root to run
+ echo '*** ERROR: Must be root to run'
exit 1
fi
@@ -18,8 +18,9 @@ else if ( has_binary pear ); then
echo Installing phpunit with pear
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
- pear channel-discover pear.symfony-project.com
- pear install phpunit/PHPUnit
+ pear channel-discover pear.symfony.com
+ pear update-channels
+ pear install --alldeps phpunit/PHPUnit
else if ( has_binary apt-get ); then
echo Installing phpunit with apt-get
apt-get install phpunit