mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-07-31 01:44:06 +02:00
Add script testing/live_test.sh
This commit is contained in:
parent
619a6ff3e2
commit
cc52b81d20
14
testing/live_test.sh
Executable file
14
testing/live_test.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user