Skip to content

Commit

Permalink
fix bad checksum executable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
4141done committed Feb 29, 2024
1 parent f091808 commit 04e89a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ assertHttpRequestEquals() {
byte_count=$((range_end - range_start + 1)) # add one since we read through the last byte
expected_response_code="$6"

file_checksum=$(${file_convert_command} if="$body_data_path" bs=1 skip="$range_start" count="$byte_count" 2>/dev/null | md5 -r)
file_checksum=$(${file_convert_command} if="$body_data_path" bs=1 skip="$range_start" count="$byte_count" 2>/dev/null | ${checksum_cmd})
expected_checksum="${file_checksum:0:${checksum_length}}"

curl_checksum_output="$(${curl_cmd} -X "GET" -r "${range_start}"-"${range_end}" "${uri}" ${extra_arg} | ${checksum_cmd})"
Expand Down

0 comments on commit 04e89a7

Please sign in to comment.