14 lines
264 B
Bash
14 lines
264 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 "${ID}" = "fedora"
|
||
|
|
||
|
# Report result
|
||
|
reportResults
|