7763e0b7db
* InstallBicep * Add test for InstallBicep * Install pwsh Modules * Script rename * Add -Command to test * Check version * Install the module for all users * Adding terminating lines to scripts * Update src/powershell/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update src/powershell/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Removed comments in Readme * Remove Bicep from PowerShell install * Increased version number * Update Minor version rather than patch --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
14 lines
363 B
Bash
14 lines
363 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Import test library for `check` command
|
|
source dev-container-features-test-lib
|
|
|
|
# Extension-specific tests
|
|
check "az.resources" pwsh -Command "(Get-Module -ListAvailable -Name Az.Resources).Version.ToString()"
|
|
check "az.storage" pwsh -Command "(Get-Module -ListAvailable -Name Az.Storage).Version.ToString()"
|
|
|
|
# Report result
|
|
reportResults
|