diff --git a/SUPPORTED_APPLICATIONS b/SUPPORTED_APPLICATIONS new file mode 100644 index 0000000000000000000000000000000000000000..d0619cc5c82df19e73635ec550eae05c8ef97586 --- /dev/null +++ b/SUPPORTED_APPLICATIONS @@ -0,0 +1 @@ +static wordpress known piwik owncloud diff --git a/tests/finish.sh b/tests/finish.sh index daee3114a44535008028e15aa4e058852f427aa5..091265d2b24b05968d2694457398fd44062e4741 100755 --- a/tests/finish.sh +++ b/tests/finish.sh @@ -1,8 +1,10 @@ #!/bin/bash -eux +ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.. + systemctl list-units | grep -c failed | grep 0 -applications=( static wordpress known piwik owncloud ) +applications=( `cat $ROOT_DIR/SUPPORTED_APPLICATIONS` ) for application in "${applications[@]}" do diff --git a/tests/start.sh b/tests/start.sh index b97c8ca373a11b54d8ecbf2fa04807f6e5f2f48b..f034e2b7a08eaab1be0adbfdfb96dbee6f53c172 100755 --- a/tests/start.sh +++ b/tests/start.sh @@ -1,6 +1,8 @@ #!/bin/bash -eux -applications=( static wordpress known piwik owncloud ) +ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.. + +applications=( `cat $ROOT_DIR/SUPPORTED_APPLICATIONS` ) for application in "${applications[@]}" do