diff options
author | JP Ungaretti <git@jungaretti.com> | 2023-03-01 20:22:14 +0300 |
---|---|---|
committer | JP Ungaretti <git@jungaretti.com> | 2023-03-01 20:22:14 +0300 |
commit | 5bb6f303a1e23eeac37061a8025c5f04ce1eff86 (patch) | |
tree | 802cc2ad6e538d1b8807ff6684b3bd2844112d2d /test/dotnet/test.sh | |
parent | 387dc5346eac3ed839bb1bf24c34baf5adf8fdec (diff) |
Finishing touches
Diffstat (limited to 'test/dotnet/test.sh')
-rwxr-xr-x | test/dotnet/test.sh | 9 |
1 files changed, 4 insertions, 5 deletions
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 |