#!/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 sleep 10 output=`mktemp` if curl -v http://127.0.0.1/icingaweb2/authentication/login -o "$output"; then if grep -q '