diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-07-14 21:37:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 21:37:46 +0300 |
commit | 330429ebb3b858e73f458dea9f43b6f89065826b (patch) | |
tree | 1d9efbee8cd5e62f07be5f4e1054135ebfa28384 /test-scenarios | |
parent | 01b46faa2dd7d9bd4f453b78f49457f2ffc67d3c (diff) |
Dotnet: Install additional versions (#60)
* Dotnet: Install additional versions
* nit
* tweak: to unblock git merge
Diffstat (limited to 'test-scenarios')
-rw-r--r-- | test-scenarios/install_additional_dotnet.sh | 13 | ||||
-rw-r--r-- | test-scenarios/scenarios.json | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test-scenarios/install_additional_dotnet.sh b/test-scenarios/install_additional_dotnet.sh new file mode 100644 index 0000000..fdb2da7 --- /dev/null +++ b/test-scenarios/install_additional_dotnet.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +check "dotnet version 6.0.301 installed as default" dotnet --version | grep 6.0.301 +check "dotnet version 5.0 installed" ls -l /usr/local/dotnet | grep 5.0 +check "dotnet version 3.1.420 installed" ls -l /usr/local/dotnet | grep 3.1.420 + +# Report result +reportResults diff --git a/test-scenarios/scenarios.json b/test-scenarios/scenarios.json index 2c17057..8b2572f 100644 --- a/test-scenarios/scenarios.json +++ b/test-scenarios/scenarios.json @@ -38,5 +38,14 @@ "additional_versions": "2.5,3.0.4" } } + }, + "install_additional_dotnet": { + "image": "ubuntu:focal", + "features": { + "dotnet": { + "version": "6.0.301", + "additional_versions": "5.0,3.1.420" + } + } } } |