Skip to content

[release-v1.36] Fix unit tests aborting on bash 3.2 - #1524

Merged
ske-prow[bot] merged 1 commit into
stackitcloud:release-v1.36from
stackit-ske:cherry-pick-1505-to-release-v1.36
Aug 21, 2026
Merged

[release-v1.36] Fix unit tests aborting on bash 3.2#1524
ske-prow[bot] merged 1 commit into
stackitcloud:release-v1.36from
stackit-ske:cherry-pick-1505-to-release-v1.36

Conversation

@stackit-ske

Copy link
Copy Markdown

This is an automated cherry-pick of #1505

/assign dergeberl

Script hack/test.sh sets nounset and expands test_flags at line 27.
Outside CI that array is empty, and bash 3.2 treats the expansion of an
empty array as an unbound variable, so make verify aborts before it runs
a test. macOS ships bash 3.2.57 as /bin/bash.

Guard the expansion so it disappears when the array is empty. This
matches the ${timeout_flag:+...} guard in the same line.
@stackit-ske stackit-ske added the kind/cherry-pick This is a cherry-pick and should be documented as such label Aug 21, 2026
@ske-prow ske-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 21, 2026
@ske-prow

ske-prow Bot commented Aug 21, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dergeberl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow ske-prow Bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 21, 2026
@ske-prow

ske-prow Bot commented Aug 21, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 0e04d3fbc8bb1ffa01100960963d0f7aad673b3f

@ske-prow
ske-prow Bot merged commit 56b1560 into stackitcloud:release-v1.36 Aug 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cherry-pick This is a cherry-pick and should be documented as such lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants