Skip to content

Commit b5fe7a3

Browse files
committed
Update Tests
1 parent 41aa0af commit b5fe7a3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

examples/virtual-hard-disk/02-VirtualHardDisks.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ printf "\n3. Uploading a virtual hard disk to: %s" "$storageAccountName"
1212
azure vhd add -o --resourcegroupname "$groupName" --destination https://"$storageAccountName".blob.core.windows.net/test/test.vhd --localfilepath $BASEDIR/test.vhd
1313

1414
printf "\n4. Downloading a virtual hard disk"
15+
azure vhd save -o --resourcegroupname "$groupName" --sourceuri https://"$storageAccountName".blob.core.windows.net/test/test.vhd --localfilepath ./test_downloaded_by_clu.vhd
1516

16-
printf "\n5. Removing resource group: %s.\n" "$groupName"
17+
printf "\n5. Validating the downloaded file is the same"
18+
diffResult=`diff ./test_downloaded_by_clu.vhd $BASEDIR/test_uploaded_byps.vhd`
19+
20+
printf "\n6. Removing resource group: %s.\n" "$groupName"
1721
azure group remove -n "$groupName" -f
Binary file not shown.

0 commit comments

Comments
 (0)