File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
examples/virtual-hard-disk Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ printf "\n3. Uploading a virtual hard disk to: %s" "$storageAccountName"
12
12
azure vhd add -o --resourcegroupname " $groupName " --destination https://" $storageAccountName " .blob.core.windows.net/test/test.vhd --localfilepath $BASEDIR /test.vhd
13
13
14
14
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
15
16
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 "
17
21
azure group remove -n " $groupName " -f
You can’t perform that action at this time.
0 commit comments