diff --git a/utilities/ubi8-bats/test/unit.bats b/utilities/ubi8-bats/test/unit.bats index 97be21610..37084436f 100644 --- a/utilities/ubi8-bats/test/unit.bats +++ b/utilities/ubi8-bats/test/unit.bats @@ -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" ] }