aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/configure_zsh_as_default_shell.sh
blob: e5cc89e51102882221592aaf6c52142bb8feb2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

# Optional: Import test library
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'"

# Report result
reportResults