]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
be more verbose
authorHolger Levsen <holger@layer-acht.org>
Thu, 8 Nov 2012 13:32:34 +0000 (14:32 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 8 Nov 2012 13:32:34 +0000 (14:32 +0100)
liveboot_testdeploy.sh

index fd6f24e4bc583fad992cebd18ed4ac56660ac63e..bb4b5e699779d25221f8a52a8cce1d4d8df68aa8 100755 (executable)
@@ -6,6 +6,7 @@
 set -e
 #set -x
 export
+echo
 
 TESTSERVER=pserver2
 TESTSERVER_MGMT_IP=192.168.178.49
@@ -59,19 +60,16 @@ fi
 #
 # check for 10min whether it's up again
 #
-echo -n "Pinging $TESTSERVER..."
+echo "Pinging $TESTSERVER..."
 for i in $(seq 1 60) ; do
        sleep 10
-       echo -n "."
+       echo "."
        if $(ping -c 1 $TESTSERVER >/dev/null)  ; then
-               echo
-               echo
                echo "$TESTSERVER pings again, so we assume it's up."
                break
        fi
 done
 if ! $(ping -c 1 $TESTSERVER >/dev/null) ; then
-       echo
        figlet "Failure:"
        echo "$TESTSERVER still down, please investigate."
        exit 1