From 5bb6f303a1e23eeac37061a8025c5f04ce1eff86 Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Wed, 1 Mar 2023 17:22:14 +0000 Subject: Finishing touches --- test/dotnet/test.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'test/dotnet/test.sh') diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh index ebbdca8..e326d71 100755 --- a/test/dotnet/test.sh +++ b/test/dotnet/test.sh @@ -2,20 +2,19 @@ set -e -# Optional: Import test library source dev-container-features-test-lib -# Definition specific tests check "dotnet" dotnet --info check "sdks" dotnet --list-sdks check "version" dotnet --version -check "ls /usr/local/dotnet" bash -c 'test "$(ls /usr/local/dotnet | wc -l)" -gt 0' - # Verify current symlink exists and works check "current link dotnet" /usr/local/dotnet/current/dotnet --info check "current link sdks" /usr/local/dotnet/current/dotnet --list-sdks check "current link version" /usr/local/dotnet/current/dotnet --version -# Report result +# Verify installation location +check "dotnet in /usr/local/dotnet" bash -c 'test "$(ls /usr/local/dotnet | wc -l)" -gt 0' +check "sdks in /usr/local/dotnet/sdk" bash -c 'test "$(ls /usr/local/dotnet/current/sdk | wc -l)" -gt 0' + reportResults -- cgit v1.2.3