From 0668db5edea56a0d57575db127b793f59b489e7b Mon Sep 17 00:00:00 2001 From: naturedamends <120284608+naturedamends@users.noreply.github.com> Date: Sat, 26 Aug 2023 00:39:32 +0100 Subject: Commonutils: chown: cannot access '/home/vscode/.zshrc': No such file or directory (#662) * Update main.sh * Update devcontainer-feature.json * Test install as non root user. --------- Co-authored-by: Samruddhi Khandale --- test/common-utils/configure_zsh_no_template_second_step.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/common-utils/configure_zsh_no_template_second_step.sh (limited to 'test/common-utils/configure_zsh_no_template_second_step.sh') diff --git a/test/common-utils/configure_zsh_no_template_second_step.sh b/test/common-utils/configure_zsh_no_template_second_step.sh new file mode 100644 index 0000000..734fa66 --- /dev/null +++ b/test/common-utils/configure_zsh_no_template_second_step.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib +# Definition specific tests +function file_not_overridden() { + cat $1 | grep 'alias fnomockalias=' | grep testingmock +} +check "default-zsh-with-no-zshrc" file_not_overridden /home/devcontainer/.zshrc + +# Report result +reportResults -- cgit v1.2.3