aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/configure_zsh_no_template_first_step.sh
diff options
context:
space:
mode:
authornaturedamends <120284608+naturedamends@users.noreply.github.com>2023-08-26 02:39:32 +0300
committerGitHub <noreply@github.com>2023-08-26 02:39:32 +0300
commit0668db5edea56a0d57575db127b793f59b489e7b (patch)
tree75bb497eb03b763b358c3bdd270aa0041f3e39ca /test/common-utils/configure_zsh_no_template_first_step.sh
parent0cf690ee14279d9e7ae5e1308950d6067d3aba81 (diff)
Commonutils: chown: cannot access '/home/vscode/.zshrc': No such file or directory (#662)feature_common-utils_2.1.2
* Update main.sh * Update devcontainer-feature.json * Test install as non root user. --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Diffstat (limited to 'test/common-utils/configure_zsh_no_template_first_step.sh')
-rw-r--r--test/common-utils/configure_zsh_no_template_first_step.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/common-utils/configure_zsh_no_template_first_step.sh b/test/common-utils/configure_zsh_no_template_first_step.sh
new file mode 100644
index 0000000..d26874d
--- /dev/null
+++ b/test/common-utils/configure_zsh_no_template_first_step.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "default-zsh-with-no-zshrc" bash -c "[ ! -e ~/.zshrc ]"
+
+# Report result
+reportResults