aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/alpine-base-zsh-default.sh
blob: 9fc00a267c388fcfd658e266ebbe14447ee5832b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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