'Generic Commit'
This commit is contained in:
@@ -123,7 +123,7 @@ title "2: Check sos hash matches"
|
|||||||
CMD="${HOSTURL}/hash/${BASE_TAG}:test1"
|
CMD="${HOSTURL}/hash/${BASE_TAG}:test1"
|
||||||
echo "checking hash via ${CMD}"
|
echo "checking hash via ${CMD}"
|
||||||
CHECK_HASH=$(curl --fail-with-body -s "${CMD}" | jq -r '.hash')
|
CHECK_HASH=$(curl --fail-with-body -s "${CMD}" | jq -r '.hash')
|
||||||
[ "${OBJECT_HASH}" != "${CHECK_HASH}" ] && die "hash does not match: ${OBJECT_HASH} != ${CHECK_HASH}"
|
[ "${OBJECT_HASH}" = "${CHECK_HASH}" ] || die "hash does not match: ${OBJECT_HASH} != ${CHECK_HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function test3() {
|
function test3() {
|
||||||
|
Reference in New Issue
Block a user