aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/test.sh
blob: 4e8281ba5c7b76dec3352609a3535e6c4a7b9b26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

# Definition specific tests
check "dotnet" dotnet --info
check "sdks" dotnet --list-sdks

echo "Validating expected version present..."
check "some major version of dotnet 6 is installed" dotnet --list-sdks |  grep '6\.[0-9]*\.[0-9]*'

# Report result
reportResults