aboutsummaryrefslogtreecommitdiff
path: root/test-scenarios/install_additional_dotnet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-scenarios/install_additional_dotnet.sh')
-rw-r--r--test-scenarios/install_additional_dotnet.sh13
1 files changed, 13 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