Skip to content

Commit

Permalink
fix: calico gh-r zunit test (#356)
Browse files Browse the repository at this point in the history
- test using the `--help` flag instead of the `version` command
  • Loading branch information
vladdoster committed Jul 25, 2022
1 parent f729e06 commit 56fb9e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gh-r.zunit
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
$btop --version; assert $state equals 0
}
@test 'calico' { # Cloud native networking and network security
run zinit lbin"!**/calico* -> calico" for @projectcalico/calico; assert $state equals 0
run zinit lbin"!* -> calico" for @projectcalico/calico; assert $state equals 0
local calico="$ZBIN/calico"; assert "$calico" is_executable
$calico version; assert $state equals 0
$calico --help; assert $state equals 0
}
@test 'certificates' { # An opinionated helper for generating tls certificates
run zinit lbin"!* -> certificates" for @mvmaasakkers/certificates; assert $state equals 0
Expand Down

0 comments on commit 56fb9e0

Please sign in to comment.