Increase testability of shell scripts (#752)

This is a preparation for #724 (bash script testing) which would be too complex to review if done there.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/752
Co-authored-by: justusbunsi <[email protected]>
Co-committed-by: justusbunsi <[email protected]>
This commit is contained in:
justusbunsi authored and justusbunsi committed 2024-12-19 12:04:00 +00:00
1 parent 726b36c6d8
commit a79fd31f7e
7 files changed
+32 -8

No files matched your search

@@ -19,7 +19,7 @@ tests:
#!/usr/bin/env bash
set -eu
gpg --batch --import /raw/private.asc
gpg --batch --import "$TMP_RAW_GPG_KEY"
- it: skips gpg script block for disabled signing
asserts:
- equal: