aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet
diff options
context:
space:
mode:
authorJP Ungaretti <git@jungaretti.com>2023-02-28 04:41:48 +0300
committerJP Ungaretti <git@jungaretti.com>2023-02-28 04:41:48 +0300
commit00f0c506f768df6e47cbc99960984c3198bd913c (patch)
treec55dc4c23dd6cc9da2dbce800494e6e4e2a7d00b /test/dotnet
parentc1daca895847005ff045249f74a4de7e48115fc6 (diff)
Clean up installer script
Diffstat (limited to 'test/dotnet')
-rwxr-xr-xtest/dotnet/test.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index 74c71bd..5bbcd74 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -2,10 +2,10 @@
set -e
-# Optional: Import test library
+# Import test library
source dev-container-features-test-lib
-# Definition specific tests
+# Make sure .NET is installed
check "info" dotnet --info
check "list-sdks" dotnet --list-sdks
check "version" dotnet --version
@@ -14,9 +14,5 @@ check "version" dotnet --version
check "current link info" /usr/local/dotnet/current/dotnet --info
check "current link sdk directory" ls -l /usr/local/dotnet/current/sdk
-# TODO: Installer script defaults to .NET 6 as that's LTS. Update this test or remove it.
-# echo "Validating expected version present..."
-# check "some major version of dotnet 7 is installed" bash -c "dotnet --version | grep '7\.[0-9]*\.[0-9]*'"
-
# Report result
reportResults