aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/install_dotnet_runtime.sh
diff options
context:
space:
mode:
authorJP Ungaretti <git@jungaretti.com>2023-03-01 20:22:14 +0300
committerJP Ungaretti <git@jungaretti.com>2023-03-01 20:22:14 +0300
commit5bb6f303a1e23eeac37061a8025c5f04ce1eff86 (patch)
tree802cc2ad6e538d1b8807ff6684b3bd2844112d2d /test/dotnet/install_dotnet_runtime.sh
parent387dc5346eac3ed839bb1bf24c34baf5adf8fdec (diff)
Finishing touches
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