Added installation and features tests

This commit is contained in:
kexkey
2018-12-11 16:51:17 -05:00
parent ebacdec65a
commit 0284f177a0
6 changed files with 324 additions and 8 deletions

15
dist/setup.sh vendored
View File

@@ -486,6 +486,8 @@ install_docker() {
fi
copy_file $sourceDataPath/installer/docker/docker-compose.yaml docker-compose.yaml
copy_file $sourceDataPath/installer/testinstall.sh testinstall.sh 0
copy_file $sourceDataPath/installer/testfeatures.sh testfeatures.sh 0
copy_file $sourceDataPath/installer/start.sh start.sh 0
copy_file $sourceDataPath/installer/stop.sh stop.sh 0
@@ -500,6 +502,18 @@ install_docker() {
try chmod +x stop.sh
next
fi
if [[ ! -x testinstall.sh ]]; then
step " make testinstall.sh executable"
try chmod +x testinstall.sh
next
fi
if [[ ! -x testfeatures.sh ]]; then
step " make testfeatures.sh executable"
try chmod +x testfeatures.sh
next
fi
}
check_directory_owner() {
@@ -683,4 +697,3 @@ if [[ $AUTOSTART == 1 ]]; then
else
cowsay
fi