diff options
author | JP Ungaretti <git@jungaretti.com> | 2023-03-01 10:39:09 +0300 |
---|---|---|
committer | JP Ungaretti <git@jungaretti.com> | 2023-03-01 10:53:55 +0300 |
commit | a4746b2feb341357a30429294881dfc8fd6707d0 (patch) | |
tree | 7f9a1c5162ebe73a40d0bd6be0ed3e8b87dc3ff1 /test/dotnet/install_dotnet_7_jammy.sh | |
parent | 018003a29157534319297c6d55355e54333637d1 (diff) |
Update version tests
Diffstat (limited to 'test/dotnet/install_dotnet_7_jammy.sh')
-rw-r--r-- | test/dotnet/install_dotnet_7_jammy.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dotnet/install_dotnet_7_jammy.sh b/test/dotnet/install_dotnet_7_jammy.sh index 2c015fc..3f5b785 100644 --- a/test/dotnet/install_dotnet_7_jammy.sh +++ b/test/dotnet/install_dotnet_7_jammy.sh @@ -5,13 +5,9 @@ set -e # Optional: Import test library source dev-container-features-test-lib -check "dotnet sdks" dotnet --list-sdks -check "some major version of dotnet 7 is installed" bash -c "dotnet --list-sdks | grep '7\.[0-9]*\.[0-9]*'" -check "dotnet version 7 installed" bash -c "ls -l /usr/share/dotnet/sdk | grep '7\.[0-9]*\.[0-9]*'" +./test.sh -# 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 +check "some major version of dotnet 7 is installed" bash -c "dotnet --list-sdks | grep '7\.[0-9]*\.[0-9]*'" # Report result reportResults |