diff --git a/rpm_tests/p_osinfo-db/03-check-image-sha256.sh b/rpm_tests/p_osinfo-db/03-check-image-sha256.sh new file mode 100755 index 0000000..888e6c7 --- /dev/null +++ b/rpm_tests/p_osinfo-db/03-check-image-sha256.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +echo "Тест получения названия MSVSphere ОС из ISO образа" + +source ../../library/sh_lib.sh + +check=0 +ISO_IMAGES_URLS_FILE='files/msvsphereiso_url.txt' + +while read LINE; do + CHECKSUM_URL="$LINE.CHECKSUM" +# curl -LJs -r 0-1048576 -o img.iso $LINE + echo "File: $LINE; Checksum: $CHECKSUM_URL" +done < $ISO_IMAGES_URLS_FILE + +check_test_status ${check} "$0" +exit ${check}