aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotnet/test.sh')
-rwxr-xr-xtest/dotnet/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index bb3d430..ebbdca8 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -10,9 +10,12 @@ check "dotnet" dotnet --info
check "sdks" dotnet --list-sdks
check "version" dotnet --version
+check "ls /usr/local/dotnet" bash -c 'test "$(ls /usr/local/dotnet | wc -l)" -gt 0'
+
# 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
+check "current link sdks" /usr/local/dotnet/current/dotnet --list-sdks
+check "current link version" /usr/local/dotnet/current/dotnet --version
# Report result
reportResults