14 lines
277 B
Bash
14 lines
277 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Optional: Import test library
|
||
|
source dev-container-features-test-lib
|
||
|
|
||
|
# Definition specific tests
|
||
|
. /etc/os-release
|
||
|
check "non-root user" test "$(whoami)" = "devcontainer"
|
||
|
check "distro" test "${VERSION_CODENAME}" = "jammy"
|
||
|
|
||
|
# Report result
|
||
|
reportResults
|