From cc52b81d2041b6f777bb123311bc51e54918ef5f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 7 May 2020 08:44:40 +0200 Subject: [PATCH] Add script `testing/live_test.sh` --- testing/live_test.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testing/live_test.sh diff --git a/testing/live_test.sh b/testing/live_test.sh new file mode 100755 index 0000000..84e45ba --- /dev/null +++ b/testing/live_test.sh @@ -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