aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/devcontainer-custom-user-default-home.sh
blob: f29bd7c74be3d5fbefa36bc2bef139dc102a5852 (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 "user is customUser" grep customUser <(whoami)
check "home is /home/customUser" grep "/home/customUser" <(getent passwd customUser | cut -d: -f6) 

# Report result
reportResults