diff options
Diffstat (limited to 'test/dotnet')
-rwxr-xr-x | test/dotnet/test.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh index 4b6c4fd..74c71bd 100755 --- a/test/dotnet/test.sh +++ b/test/dotnet/test.sh @@ -6,16 +6,17 @@ set -e source dev-container-features-test-lib # Definition specific tests -check "dotnet" dotnet --info -check "sdks" dotnet --list-sdks +check "info" dotnet --info +check "list-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]*'" +# 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 +# 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 |