|
|
@ -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}
|