aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/install_additional_dotnet.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-11-08 23:08:06 +0300
committerSamruddhi Khandale <skhandale@microsoft.com>2022-11-08 23:08:06 +0300
commit91b8a145251afa580f35feb5f800bd1e4492a2b0 (patch)
tree05934dd8d88ba80d9e41d7f416606210e9ab5d3c /test/dotnet/install_additional_dotnet.sh
parent3020d6da64798ee994d407ffd3ce3f800f6dff92 (diff)
Diffstat (limited to 'test/dotnet/install_additional_dotnet.sh')
-rw-r--r--test/dotnet/install_additional_dotnet.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dotnet/install_additional_dotnet.sh b/test/dotnet/install_additional_dotnet.sh
index fdb2da7..34103ea 100644
--- a/test/dotnet/install_additional_dotnet.sh
+++ b/test/dotnet/install_additional_dotnet.sh
@@ -5,9 +5,9 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-check "dotnet version 6.0.301 installed as default" dotnet --version | grep 6.0.301
-check "dotnet version 5.0 installed" ls -l /usr/local/dotnet | grep 5.0
-check "dotnet version 3.1.420 installed" ls -l /usr/local/dotnet | grep 3.1.420
+check "dotnet version 6.0.301 installed as default" bash -c "dotnet --version | grep 6.0.301"
+check "dotnet version 5.0 installed" bash -c "ls -l /usr/local/dotnet | grep 5.0"
+check "dotnet version 3.1.420 installed" bash -c "ls -l /usr/local/dotnet | grep 3.1.420"
# Report result
reportResults