aboutsummaryrefslogblamecommitdiff
path: root/test/dotnet/test.sh
blob: 5bbcd746bec42132e46cc7573ac8a0f59d683cd1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



           
                     
                                      
 
                             

                                    
                                
 


                                                                      
 
               
             
#!/bin/bash

set -e

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

# Make sure .NET is installed
check "info" dotnet --info
check "list-sdks" dotnet --list-sdks
check "version" dotnet --version

# Make sure the symlink works
check "current link info" /usr/local/dotnet/current/dotnet --info
check "current link sdk directory" ls -l /usr/local/dotnet/current/sdk

# Report result
reportResults