From a3c1c5a1b461bf3a3b6e61c5d3fbe8d92fbf0d30 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 3 Mar 2022 17:36:35 +0100 Subject: adjust expressed expectations Corrections by rgdd. TODO: Expand on this, preferably by automating verification of return values. --- integration/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/run b/integration/run index d41d8db..011246f 100755 --- a/integration/run +++ b/integration/run @@ -62,7 +62,7 @@ $GOPATH/bin/cosign --url=$url --log_vk=$log_vk --sk=$wit_sk sleep $wait_seconds echo "" -echo "test: get-tree-head-cosigned (expect failure on first run with new log)" +echo "test: get-tree-head-cosigned -- expect Error=no cosignatures available curl $url/get-tree-head-cosigned sleep $wait_seconds echo "" @@ -82,6 +82,6 @@ printf "start_size=0\nend_size=1\n" | curl --data-binary @- $url/get-leaves sleep $wait_seconds echo "" -echo "with 30s interval we should now have a cosigned tree head (might fail on first run with new log)" +echo "with 30s interval we should now have a cosigned tree head curl $url/get-tree-head-cosigned echo "" -- cgit v1.2.3