summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/test
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-30 04:56:53 +0100
committermakefu <github@syntax-fehler.de>2015-12-30 04:56:53 +0100
commit1798dbaf47fea7793545be2bc78ac5f1c8e27e18 (patch)
treed05a5125988e392081027858e000ec41e32b013f /krebs/5pkgs/test
parent2bee6a0f6d71fbb1e1f02bd0df396bc38d3b6f67 (diff)
k 5 test: fix endless loop in test
Diffstat (limited to 'krebs/5pkgs/test')
-rwxr-xr-xkrebs/5pkgs/test/infest-cac-centos7/notes3
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/5pkgs/test/infest-cac-centos7/notes b/krebs/5pkgs/test/infest-cac-centos7/notes
index 3f4fcd859..eee0bfc34 100755
--- a/krebs/5pkgs/test/infest-cac-centos7/notes
+++ b/krebs/5pkgs/test/infest-cac-centos7/notes
@@ -81,9 +81,10 @@ while true;do
if ! wait_login_cac $id;then
echo "unable to boot a working system within time frame, retrying..." >&2
echo "Cleaning up old image,last status: $(cac update;cac getserver $id | jq -r .status)"
- eval "$(clear_defer)"
+ eval "$(clear_defer | sed 's/;exit//')"
else
echo "got a working system" >&2
+ break
fi
done
clear_defer >/dev/null