[bitnami/kes] test: Use array for exec

Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com>
This commit is contained in:
Javier J. Salmerón García 2025-03-25 12:44:27 +01:00
parent 9301c4df11
commit 89fa1e0778
No known key found for this signature in database
GPG Key ID: 1B9DAB50322F361A
1 changed files with 6 additions and 2 deletions

View File

@ -7,14 +7,18 @@
{{- $version = regexReplaceAll "([0-9]+)-([0-9])-([0-9]+)" $version "$1-0$2-$3" }}
command:
check-kes-version:
exec: kes --version
exec:
- kes
- --version
exit-status: 0
stdout:
# We need to add Version because using the variable alone converts it to a Date
# object, causing issues in the stdout matching
- /Version.*{{$version}}/
check-kes-help:
exec: kes --help
exec:
- kes
- --help
exit-status: 2
stderr:
- Start a KES server