Skip to content

Commit

Permalink
fix: Remove version testing for ubi8-bats dependencies (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabrahamsson authored Dec 18, 2023
1 parent 4f750a7 commit f782e4d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions utilities/ubi8-bats/test/unit.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,24 @@
@test "bats: version" {
run bats --version
[ "${status}" -eq 0 ]
[ "${lines[0]}" = "Bats 1.10.0" ]
}

@test "helm: version" {
run helm version
[ "${status}" -eq 0 ]
[[ "${lines[0]}" =~ v3.11.3 ]]
}

@test "jq: version" {
run jq --version
[ "${status}" -eq 0 ]
[ "${lines[0]}" = "jq-1.6" ]
}

@test "oc: version" {
run oc version
run oc version --client
[ "${status}" -eq 0 ]
[[ "${lines[0]}" =~ 4.14.3 ]]
}

@test "yq: version" {
run yq --version
[ "${status}" -eq 0 ]
[ "${lines[0]}" = "yq (https://github.com/mikefarah/yq/) version v4.40.5" ]
}

0 comments on commit f782e4d

Please sign in to comment.