#!/bin/sh # Fixture for hack/run-kubernetes-install-wait_test.bats. # Not executed: read as text by the guard's matchers. # # The definition closes on the indented brace below, and the column-0 brace at # the end belongs to nothing. The range helper ends a body at the column-0 one, # so the extracted text opens with a definition and ends with a bare `}` -- # both boundary checks pass -- while the command between them runs at source # time if that text is sourced. cozy_wait_inner_brace() { kubectl wait hr -n tenant-test "kubernetes-${test_name}" --timeout=5m --for=condition=ready } printf 'ran\n' >"${COZY_TAIL_WITNESS:-/dev/null}" }