diff options
author | makefu <github@syntax-fehler.de> | 2015-12-30 04:56:53 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-30 04:56:53 +0100 |
commit | 1798dbaf47fea7793545be2bc78ac5f1c8e27e18 (patch) | |
tree | d05a5125988e392081027858e000ec41e32b013f /krebs/5pkgs | |
parent | 2bee6a0f6d71fbb1e1f02bd0df396bc38d3b6f67 (diff) |
k 5 test: fix endless loop in test
Diffstat (limited to 'krebs/5pkgs')
-rwxr-xr-x | krebs/5pkgs/test/infest-cac-centos7/notes | 3 |
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 |