Unit test: Improve output

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2022-04-11 21:58:11 +01:00
parent 3160cac48f
commit e30bfd3773
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -74,8 +74,8 @@ curl_it () {
if [ -e "${file}" ]; then if [ -e "${file}" ]; then
log "> hash ${file}" log "> hash ${file}"
temp_hash="$(openssl sha256 "${file}")" temp_hash="$(openssl sha256 "${file}")"
log "temp_hash: $temp_hash" #log "temp_hash: $temp_hash"
log "hash : $hash" #log "hash : $hash"
if [ "$temp_hash" = "$hash" ]; then if [ "$temp_hash" = "$hash" ]; then
: # OK - hash is good : # OK - hash is good
else else