2022-09-01 19:41:22 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
|
|
|
|
|
|
|
# Definition specific tests
|
|
|
|
check "version" conda --version
|
2022-09-06 23:50:11 +03:00
|
|
|
check "if conda-notice.txt exists" cat /usr/local/etc/vscode-dev-containers/conda-notice.txt
|
2022-09-01 19:41:22 +03:00
|
|
|
|
2022-09-14 03:15:51 +03:00
|
|
|
# Check env
|
|
|
|
check "CONDA_SCRIPT is set correctly" echo $CONDA_SCRIPT | grep "/opt/conda/etc/profile.d/conda.sh"
|
|
|
|
|
2022-09-01 19:41:22 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|