aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/dotnet/test.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index 5bbcd74..bb3d430 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -2,17 +2,17 @@
set -e
-# Import test library
+# Optional: Import test library
source dev-container-features-test-lib
-# Make sure .NET is installed
-check "info" dotnet --info
-check "list-sdks" dotnet --list-sdks
+# Definition specific tests
+check "dotnet" dotnet --info
+check "sdks" dotnet --list-sdks
check "version" dotnet --version
-# Make sure the symlink works
-check "current link info" /usr/local/dotnet/current/dotnet --info
-check "current link sdk directory" ls -l /usr/local/dotnet/current/sdk
+# Verify current symlink exists and works
+check "current link dotnet" /usr/local/dotnet/current/dotnet --info
+check "current link sdk" ls -l /usr/local/dotnet/current/sdk
# Report result
reportResults