f90cb26c7f
* add checks for "jq" * install epel-release if necessary * clean up epel-release post installation of "jq"
15 lines
290 B
Bash
Executable file
15 lines
290 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 "${ID}" = "mariner"
|
|
check "jq" jq --version
|
|
|
|
# Report result
|
|
reportResults |