diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/common-utils/configure_zsh_as_default_shell.sh | 1 | ||||
-rw-r--r-- | test/common-utils/scenarios.json | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/common-utils/configure_zsh_as_default_shell.sh b/test/common-utils/configure_zsh_as_default_shell.sh index 6a569a9..01d1522 100644 --- a/test/common-utils/configure_zsh_as_default_shell.sh +++ b/test/common-utils/configure_zsh_as_default_shell.sh @@ -9,6 +9,7 @@ source dev-container-features-test-lib check "default-shell-is-zsh" bash -c "getent passwd $(whoami) | awk -F: '{ print $7 }' | grep '/bin/zsh'" # check it overrides the ~/.zshrc with default dev containers template check "default-zshrc-is-dev-container-template" bash -c "cat ~/.zshrc | grep ZSH_THEME | grep devcontainers" +check "zsh-path-contains-local-bin" zsh -l -c "echo $PATH | grep '/home/devcontainer/.local/bin'" # Report result reportResults diff --git a/test/common-utils/scenarios.json b/test/common-utils/scenarios.json index bb65874..c1ee18d 100644 --- a/test/common-utils/scenarios.json +++ b/test/common-utils/scenarios.json @@ -108,12 +108,14 @@ } }, "configure_zsh_as_default_shell": { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ubuntu", "features": { "common-utils": { + "installZsh": true, "configureZshAsDefaultShell": true } - } + }, + "remoteUser": "devcontainer" }, "configure_zsh_no_template_second_step": { "image": "mcr.microsoft.com/devcontainers/base:ubuntu", |