aboutsummaryrefslogtreecommitdiff
path: root/test/conda
diff options
context:
space:
mode:
Diffstat (limited to 'test/conda')
-rw-r--r--test/conda/install_conda.sh4
-rwxr-xr-xtest/conda/test.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/conda/install_conda.sh b/test/conda/install_conda.sh
index efe7f5e..66ca40d 100644
--- a/test/conda/install_conda.sh
+++ b/test/conda/install_conda.sh
@@ -5,8 +5,8 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-check "conda" conda --version | grep 4.12.0
-check "conda-forge" conda config --show channels | grep conda-forge
+check "conda" bash -c "conda --version | grep 4.12.0"
+check "conda-forge" bash -c "conda config --show channels | grep conda-forge"
check "if conda-notice.txt exists" cat /usr/local/etc/vscode-dev-containers/conda-notice.txt
# Report result
diff --git a/test/conda/test.sh b/test/conda/test.sh
index f300217..7c0df29 100755
--- a/test/conda/test.sh
+++ b/test/conda/test.sh
@@ -10,7 +10,7 @@ check "version" conda --version
check "if conda-notice.txt exists" cat /usr/local/etc/vscode-dev-containers/conda-notice.txt
# Check env
-check "CONDA_SCRIPT is set correctly" echo $CONDA_SCRIPT | grep "/opt/conda/etc/profile.d/conda.sh"
+check "CONDA_SCRIPT is set correctly" bash -c "echo $CONDA_SCRIPT | grep "/opt/conda/etc/profile.d/conda.sh""
# Report result
reportResults