diff --git a/test/shell/common/controller-local.sh b/test/shell/common/controller-local.sh index 88bd31a..d74dfa7 100755 --- a/test/shell/common/controller-local.sh +++ b/test/shell/common/controller-local.sh @@ -20,7 +20,8 @@ cat >"$tmp/bin/ssh" </dev/null)" = "\$port" ] && host=\$(basename "\$d"); done; fi -case "\$*" in *cloud-init*|*6080*|*boxery-provision*) exit 0 ;; esac +# the host's readiness waits, as whole commands: a copy's random staging name can contain "6080" +case "\$*" in *"cloud-init status"*|*"127.0.0.1:6080/vnc.html"*|*"/var/log/boxery-provision.ok"*) exit 0 ;; esac [ -n "\$host" ] || exit 0 vm=$tmp/vms/\$host; [ -d "\$vm" ] || { echo "no such vm" >&2; exit 255; } mkdir -p "\$vm/home/project/.git/info"