aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-06-30 01:14:11 +0300
committerGitHub <noreply@github.com>2023-06-30 01:14:11 +0300
commit300814be97eaa5b7780886bd2eb37e96b523b3e7 (patch)
tree9db60abc9475d2f379dc53861d7c8a928bd6e34a /test/dotnet/test.sh
parent8a51aa906676280364df60010575b7dad3162f37 (diff)
Dotnet: Fix Feature failures on ubuntu:jammy (when installing using apt) (#590)feature_dotnet_1.1.4
* fix several bugs * fix test: .NET is now installed from ubuntu feeds * add comment ; use dev containers image * address comments * revert debugging cmd * fix test for bookworm
Diffstat (limited to 'test/dotnet/test.sh')
-rwxr-xr-xtest/dotnet/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index 7eb0cf6..f433654 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -11,7 +11,7 @@ check "sdks" dotnet --list-sdks
check "version" dotnet --version
echo "Validating expected version present..."
-check "some major version of dotnet 7 is installed" bash -c "dotnet --version | grep '7\.[0-9]*\.[0-9]*'"
+check "some major version of dotnet (7/8) is installed" bash -c "dotnet --version | grep '[7-8]\.[0-9]*\.[0-9]*'"
# Verify current symlink exists and works
check "current link dotnet" /usr/local/dotnet/current/dotnet --info