aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/configure_zsh_as_default_shell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/common-utils/configure_zsh_as_default_shell.sh')
-rw-r--r--test/common-utils/configure_zsh_as_default_shell.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/common-utils/configure_zsh_as_default_shell.sh b/test/common-utils/configure_zsh_as_default_shell.sh
index e5cc89e..6a569a9 100644
--- a/test/common-utils/configure_zsh_as_default_shell.sh
+++ b/test/common-utils/configure_zsh_as_default_shell.sh
@@ -7,6 +7,8 @@ source dev-container-features-test-lib
# Definition specific tests
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"
# Report result
reportResults