aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotnet/test.sh')
-rwxr-xr-xtest/dotnet/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index 4e8281b..a16f91d 100755
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -8,9 +8,10 @@ source dev-container-features-test-lib
# Definition specific tests
check "dotnet" dotnet --info
check "sdks" dotnet --list-sdks
+check "version" dotnet --version
echo "Validating expected version present..."
-check "some major version of dotnet 6 is installed" dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'
+check "some major version of dotnet 6 is installed" dotnet --version | grep '6\.[0-9]*\.[0-9]*'
# Report result
reportResults \ No newline at end of file