aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
diff options
context:
space:
mode:
authorChuck Lantz <clantz@microsoft.com>2022-11-14 22:41:32 +0300
committerGitHub <noreply@github.com>2022-11-14 22:41:32 +0300
commit17580ee22f38b3a16e6531a8139629fd2fd8234a (patch)
treed18d553e14e92dec4ccfe9b6ca3e4ccb6a1ec50f /test/dotnet/test.sh
parent258b107b39db9f28703bf6bfeed3102d54e1cafe (diff)
Add .NET 7, drop .NET 5 (#269)
* Add .NET 7, drop .NET 5 * Add libssl3 to common-utils for jammy * Handle lts/latest hard coding * Fix, improve tests * Bump version * Fix situation where version could come from either MS repo or OS * Remove unused option * Bump common version * Remove unused function * Restore DOTNET_ROOT per feedback
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