14 lines
277 B
Bash
Executable file
14 lines
277 B
Bash
Executable file
#!/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 |