2022-07-14 21:37:46 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
|
|
|
|
2022-11-14 22:41:32 +03:00
|
|
|
check "dotnet version 6.0.301 installed as default" bash -c "dotnet --version | grep 6.0.301"
|
|
|
|
check "dotnet version 5.0 installed" bash -c "ls -l /usr/local/dotnet | grep 5.0"
|
|
|
|
check "dotnet version 3.1.420 installed" bash -c "ls -l /usr/local/dotnet | grep 3.1.420"
|
|
|
|
|
|
|
|
# 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
|
2022-07-14 21:37:46 +03:00
|
|
|
|
2022-11-17 01:18:29 +03:00
|
|
|
./assert_run_project.sh
|
|
|
|
|
2022-07-14 21:37:46 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|