test: ListObjectsV2 REST capability, initial multi-page testing

This commit is contained in:
Luke McCrone
2025-01-06 17:15:08 -03:00
parent 5529796ccd
commit f487d2602c
7 changed files with 165 additions and 5 deletions
+15
View File
@@ -65,3 +65,18 @@ $canonical_request_hash"
curl_command=()
add_command_recording_if_enabled
}
add_parameter() {
if [ "$#" -ne 2 ]; then
return
fi
if [ "$first_param_added" != "true" ]; then
if [ "$1" == "url" ]; then
eval "$1"+='?'
fi
eval "$1"+="$2"
first_param_added="true"
else
eval "$1"+="'&$2'"
fi
}