features/test/common-utils/alpine-3-15.sh

15 lines
299 B
Bash
Raw Permalink Normal View History

#!/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}" = "alpine"
check "bashrc" ls /etc/bash/bashrc
# Report result
reportResults