This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SITE_URL=$1 | |
USER_NAME=$2 | |
COOKIE_PREFIX=$3 | |
if [[ -z "$SITE_URL" || -z "$USER_NAME" || -z "$COOKIE_PREFIX" ]]; then | |
echo "wiki_login <api.php url> <username> <site cookie prefix>" | |
echo "e.g. wiki_login https://localhost/core aaron my_wiki" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo memcached-php | |
echo ============= | |
sudo -u www-data php tests/phpunit/phpunit.php tests/phpunit/includes/libs/objectcache/BagOStuffTest.php --use-bagostuff=memcached-php | |
echo memcached-pecl | |
echo ============= | |
sudo -u www-data php tests/phpunit/phpunit.php tests/phpunit/includes/libs/objectcache/BagOStuffTest.php --use-bagostuff=memcached-pecl | |
echo hash | |
echo ============= | |
sudo -u www-data php tests/phpunit/phpunit.php tests/phpunit/includes/libs/objectcache/BagOStuffTest.php --use-bagostuff=hash |