2023-03-01 10:57:41 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source dev-container-features-test-lib
|
|
|
|
|
2023-03-01 20:22:14 +03:00
|
|
|
# Some runtime installed
|
2023-03-01 10:57:41 +03:00
|
|
|
check "runtime" bash -c 'test "$(dotnet --list-runtimes | wc -l)" -gt 0'
|
|
|
|
|
2023-03-01 20:22:14 +03:00
|
|
|
# No sdk installed
|
2023-03-01 10:57:41 +03:00
|
|
|
check "no sdk" bash -c 'test "$(dotnet --list-sdks | wc -l)" -eq 0'
|
|
|
|
|
|
|
|
reportResults
|