ef87daf5af
* use default jammy apt feed to mitigate jammy/oryx install issues * remove old comment * jammy first tries default apt repo * refactoring * glob friendly and tests * test files * better greps * correct path * DEBIAN_FRONTEND global in oryx install script * remove set -e from dotnet script to handle errors ourselves
16 lines
358 B
Bash
Executable file
16 lines
358 B
Bash
Executable file
#!/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 |