From 2d41498f6aa667f3864089cdf1cf8c43e058c435 Mon Sep 17 00:00:00 2001 From: wang yan Date: Sat, 18 Jan 2020 21:56:58 -0800 Subject: [PATCH] Add expect file from linux OS Signed-off-by: wang yan --- .../Group0-Util/notary-remove-image-signature.expect | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/robot-cases/Group0-Util/notary-remove-image-signature.expect b/tests/robot-cases/Group0-Util/notary-remove-image-signature.expect index ff77b85ad..c98b9261e 100755 --- a/tests/robot-cases/Group0-Util/notary-remove-image-signature.expect +++ b/tests/robot-cases/Group0-Util/notary-remove-image-signature.expect @@ -3,9 +3,10 @@ set HOST [lindex $argv 0] set PROJECT [lindex $argv 1] set IMAGE [lindex $argv 2] +set notaryServerEndpoint [lindex $argv 3] set timeout 30 -spawn notary -s https://$HOST:4443 --tlscacert /notary_ca/ca.crt -d /root/.docker/trust remove -p $HOST/$PROJECT/$IMAGE latest +spawn notary -s https://$notaryServerEndpoint --tlscacert /notary_ca.crt -d /root/.docker/trust remove -p $HOST/$PROJECT/$IMAGE latest expect { "Enter username:" {send "admin\r";exp_continue}