e7f7d194d6
* [common-utils] fix bug when user home is custom by base docker * bumped minor version * reduced conditions to improve readability
14 lines
305 B
Bash
14 lines
305 B
Bash
#!/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
|