aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/install_dotnet_runtime.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotnet/install_dotnet_runtime.sh')
-rw-r--r--test/dotnet/install_dotnet_runtime.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/dotnet/install_dotnet_runtime.sh b/test/dotnet/install_dotnet_runtime.sh
index f7f2752..73bbe9a 100644
--- a/test/dotnet/install_dotnet_runtime.sh
+++ b/test/dotnet/install_dotnet_runtime.sh
@@ -2,14 +2,12 @@
set -e
-# Optional: Import test library
source dev-container-features-test-lib
-# some runtime installed
+# Some runtime installed
check "runtime" bash -c 'test "$(dotnet --list-runtimes | wc -l)" -gt 0'
-# no sdk installed
+# No sdk installed
check "no sdk" bash -c 'test "$(dotnet --list-sdks | wc -l)" -eq 0'
-# Report result
reportResults