From a4746b2feb341357a30429294881dfc8fd6707d0 Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Wed, 1 Mar 2023 07:39:09 +0000 Subject: Update version tests --- test/dotnet/install_dotnet_7_jammy.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/dotnet/install_dotnet_7_jammy.sh') 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 -- cgit v1.2.3