From ef1cd0dafd6a3b0ccd455c012c61713bf8b6eef2 Mon Sep 17 00:00:00 2001 From: Pavel Negrobov Date: Fri, 15 Dec 2023 16:22:46 +0300 Subject: [PATCH] =?UTF-8?q?INF-834:=20=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D1=82=D0=B5=D1=81=D1=82=20=D0=B4=D0=BB=D1=8F=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8=20=D0=B1=D0=B8=D0=BB?= =?UTF-8?q?=D0=B4=D0=B0=20osinfo-db?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpm_tests/p_osinfo-db/03-check-image-sha256.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 rpm_tests/p_osinfo-db/03-check-image-sha256.sh 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}