2022-05-12 23:10:51 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-28 04:41:48 +03:00
|
|
|
# Import test library
|
2022-05-13 03:07:22 +03:00
|
|
|
source dev-container-features-test-lib
|
2022-05-12 23:10:51 +03:00
|
|
|
|
2023-02-28 04:41:48 +03:00
|
|
|
# Make sure .NET is installed
|
2023-02-28 03:58:07 +03:00
|
|
|
check "info" dotnet --info
|
|
|
|
check "list-sdks" dotnet --list-sdks
|
2022-08-23 16:17:08 +03:00
|
|
|
check "version" dotnet --version
|
2022-05-12 23:10:51 +03:00
|
|
|
|
2023-02-28 03:58:07 +03:00
|
|
|
# Make sure the symlink works
|
|
|
|
check "current link info" /usr/local/dotnet/current/dotnet --info
|
|
|
|
check "current link sdk directory" ls -l /usr/local/dotnet/current/sdk
|
2022-11-14 22:41:32 +03:00
|
|
|
|
2022-05-12 23:10:51 +03:00
|
|
|
# Report result
|
2023-02-28 03:48:56 +03:00
|
|
|
reportResults
|