diff --git a/test/dotnet/install_dotnet_multiple_versions.sh b/test/dotnet/install_dotnet_multiple_versions.sh index e25123339..5f0f12533 100644 --- a/test/dotnet/install_dotnet_multiple_versions.sh +++ b/test/dotnet/install_dotnet_multiple_versions.sh @@ -19,6 +19,9 @@ is_dotnet_sdk_version_installed "8.0" check ".NET SDK 7.0 installed" \ is_dotnet_sdk_version_installed "7.0" +check ".NET SDK 6.0 installed" \ +is_dotnet_sdk_version_installed "6.0" + check "Build example class library" \ dotnet build projects/multitargeting diff --git a/test/dotnet/install_dotnet_six.sh b/test/dotnet/install_dotnet_six.sh new file mode 100644 index 000000000..225cc7c1b --- /dev/null +++ b/test/dotnet/install_dotnet_six.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +# Optional: Import test library bundled with the devcontainer CLI +# See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib +# Provides the 'check' and 'reportResults' commands. +source dev-container-features-test-lib + +# Feature-specific tests +# The 'check' command comes from the dev-container-features-test-lib. Syntax is... +# check