aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-28 16:28:42 +0200
committerLinus Nordberg <linus@nordberg.se>2022-04-28 16:28:42 +0200
commit6e6827e54ccf3ccf2624fcd7928fc085a54a5df2 (patch)
treedc5855e8fd4e33a10f247b334969a067f4a3581a
parent693ceb4b3d6268e795faa32af7a17cfb8dd55db6 (diff)
s/POST/GET in test output too
-rwxr-xr-xintegration/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/test.sh b/integration/test.sh
index ec0d39e..f18fa77 100755
--- a/integration/test.sh
+++ b/integration/test.sh
@@ -283,7 +283,7 @@ function test_cosigned_tree_head() {
}
function test_inclusion_proof() {
- desc="POST get-inclusion-proof (tree_size $1, data \"$2\", index $3)"
+ desc="GET get-inclusion-proof (tree_size $1, data \"$2\", index $3)"
signature=$(echo $2 | sigsum-debug leaf sign -k $cli_priv -h $ssrv_shard_start)
leaf_hash=$(echo $2 | sigsum-debug leaf hash -k $cli_key_hash -s $signature -h $ssrv_shard_start)
curl -s -w "%{http_code}" $log_url/get-inclusion-proof/$1/$leaf_hash >$log_dir/rsp
@@ -308,7 +308,7 @@ function test_inclusion_proof() {
}
function test_consistency_proof() {
- desc="POST get-consistency-proof (old_size $1, new_size $2)"
+ desc="GET get-consistency-proof (old_size $1, new_size $2)"
curl -s -w "%{http_code}" $log_url/get-consistency-proof/$1/$2 >$log_dir/rsp
if [[ $(status_code) != 200 ]]; then