Add script testing/live_test.sh

This commit is contained in:
Johannes Meyer 2020-05-07 08:44:40 +02:00
parent 619a6ff3e2
commit cc52b81d20

14
testing/live_test.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# this script runs in the rpm_test environment
SCRIPT_HOME="$(dirname "$(readlink -f "$0")")"
if ! $SCRIPT_HOME/prepare_test.sh; then
exit 1
fi
IP_ADDRESS="$(hostname -I | cut -d' ' -f1)"
echo "Icinga Web is now available at http://$IP_ADDRESS/icingaweb2"
echo
bash