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_6_focal.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/dotnet/install_dotnet_6_focal.sh') diff --git a/test/dotnet/install_dotnet_6_focal.sh b/test/dotnet/install_dotnet_6_focal.sh index 758f040..7bef5cc 100644 --- a/test/dotnet/install_dotnet_6_focal.sh +++ b/test/dotnet/install_dotnet_6_focal.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 6 is installed" bash -c "dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'" -check "dotnet version 6 installed" bash -c "ls -l /usr/share/dotnet/sdk | grep '6\.[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 6 is installed" bash -c "dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'" # Report result reportResults -- cgit v1.2.3