diff --git a/testing/test.sh b/testing/test.sh index aed6ea7..c40b150 100755 --- a/testing/test.sh +++ b/testing/test.sh @@ -123,10 +123,10 @@ MD5SUM=$(md5sum "${TEST_FILE}" | awk '{print $1}') echo "md5sum of ${TEST_FILE} is ${MD5SUM}" # download the object -DOWNLOAD_FILE="_${TEST_FILE}.downloaded" +DOWNLOAD_FILE="${TEST_FILE}.downloaded" echo "downloading ${OBJECT_HASH} to ${DOWNLOAD_FILE}1" if ! curl -s "${HOSTURL}/${OBJECT_HASH}" -o "${DOWNLOAD_FILE}1"; then - die "failed to download ${HOSTURL}/${OBJECT_HASH} to ${DOWNLOAD_FILE}1" + die "Command failed: curl -s ${HOSTURL}/${OBJECT_HASH} -o ${DOWNLOAD_FILE}1" fi # download the object again via the label:tag