From 632898d27373cfc0a4ecbbcf34ded396af1727bc Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 7 May 2013 21:36:19 +0200 Subject: make host configurable --- tests/acceptance/run.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 33d7b3cf9..8933c44cb 100644 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -71,5 +71,12 @@ fi rvm install 2.0.0 rvm use ruby-2.0.0@oc_acceptance --create +# install dep libraries bundle install -cucumber -f json -o ./logs/owncloud.json -f pretty HOST=localhost/owncloud features \ No newline at end of file + +# if the OWNCLOUD_HOST variable is not set it will default to localhost/owncloud +if [[ -z "$OWNCLOUD_HOST" ]]; then + export OWNCLOUD_HOST='localhost/owncloud' +fi + +cucumber -f json -o ./logs/owncloud.json -f pretty HOST=$OWNCLOUD_HOST features \ No newline at end of file -- cgit v1.2.3