Fix tests

Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
Julius Haertl
2017-03-04 12:33:40 +01:00
committed by Julius Härtl
parent 2b9b22f2f2
commit 56fcb081a4
6 changed files with 464 additions and 7 deletions

View File

@@ -5,6 +5,11 @@ OCC=${OC_PATH}occ
SCENARIO_TO_RUN=$1
HIDE_OC_LOGS=$2
# Nextcloud integration tests composer
(
cd ${OC_PATH}build/integration
composer install
)
INSTALLED=$($OCC status | grep installed: | cut -d " " -f 5)
if [ "$INSTALLED" == "true" ]; then
@@ -36,9 +41,5 @@ RESULT=$?
kill $PHPPID
if [ -z $HIDE_OC_LOGS ]; then
tail "${OC_PATH}/data/nextcloud.log"
fi
echo "runsh: Exit code: $RESULT"
exit $RESULT