aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-28 16:50:29 +0200
committerLinus Nordberg <linus@nordberg.se>2022-04-28 16:50:29 +0200
commitad83b79b2170e1f3002a7a985f2163948ad1f8e0 (patch)
treeac546633d81cec656336cbb1f44e710525dcd94b /integration
parent6e6827e54ccf3ccf2624fcd7928fc085a54a5df2 (diff)
rename endpoint get-tree-head-to-sign
Reference: https://pad.sigsum.org/p/sigsum-db #11
Diffstat (limited to 'integration')
-rwxr-xr-xintegration/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/test.sh b/integration/test.sh
index f18fa77..2ba101b 100755
--- a/integration/test.sh
+++ b/integration/test.sh
@@ -201,7 +201,7 @@ function run_tests() {
function test_signed_tree_head() {
desc="GET tree-head-to-sign (tree size $1)"
- curl -s -w "%{http_code}" $log_url/get-tree-head-to-sign \
+ curl -s -w "%{http_code}" $log_url/get-tree-head-to-cosign \
>$log_dir/rsp
if [[ $(status_code) != 200 ]]; then
@@ -387,7 +387,7 @@ function test_add_leaf() {
function test_cosignature() {
desc="POST add-cosignature (witness $1)"
echo "key_hash=$1" > $log_dir/req
- echo "cosignature=$(curl -s $log_url/get-tree-head-to-sign |
+ echo "cosignature=$(curl -s $log_url/get-tree-head-to-cosign |
sigsum-debug head sign -k $2 -h $ssrv_key_hash)" >> $log_dir/req
cat $log_dir/req |
curl -s -w "%{http_code}" --data-binary @- $log_url/add-cosignature \