aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/alpine-base-zsh-default.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/common-utils/alpine-base-zsh-default.sh')
-rw-r--r--test/common-utils/alpine-base-zsh-default.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/common-utils/alpine-base-zsh-default.sh b/test/common-utils/alpine-base-zsh-default.sh
new file mode 100644
index 0000000..9fc00a2
--- /dev/null
+++ b/test/common-utils/alpine-base-zsh-default.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "alpine default shell zsh" \
+ bash -c "getent passwd $(whoami) | awk -F : '{ print $7 }' | grep '/bin/zsh'"
+
+# Report result
+reportResults