Skip to content

Commit

Permalink
add checks for "jq"
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Aug 8, 2023
1 parent f2594c5 commit c361e90
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/common-utils/centos-7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source dev-container-features-test-lib
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${VERSION_ID}" = "7"
check "jq" jq --version

# Report result
reportResults
1 change: 1 addition & 0 deletions test/common-utils/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source dev-container-features-test-lib
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${ID}" = "fedora"
check "jq" jq --version

# Report result
reportResults
1 change: 1 addition & 0 deletions test/common-utils/mariner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source dev-container-features-test-lib
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${ID}" = "mariner"
check "jq" jq --version

# Report result
reportResults
1 change: 1 addition & 0 deletions test/common-utils/rocky-8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source dev-container-features-test-lib
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${PLATFORM_ID}" = "platform:el8"
check "curl" curl --version
check "jq" jq --version

# Report result
reportResults
1 change: 1 addition & 0 deletions test/common-utils/rocky-9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source dev-container-features-test-lib
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${PLATFORM_ID}" = "platform:el9"
check "curl" curl --version
check "jq" jq --version

# Report result
reportResults

0 comments on commit c361e90

Please sign in to comment.