aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotnet/test.sh')
-rwxr-xr-xtest/dotnet/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index a16f91d..7eb0cf6 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -11,7 +11,11 @@ check "sdks" dotnet --list-sdks
check "version" dotnet --version
echo "Validating expected version present..."
-check "some major version of dotnet 6 is installed" dotnet --version | grep '6\.[0-9]*\.[0-9]*'
+check "some major version of dotnet 7 is installed" bash -c "dotnet --version | grep '7\.[0-9]*\.[0-9]*'"
+
+# 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 \ No newline at end of file