Skip to content

Commit 3ef54c7

Browse files
test: Adapt the scripts to be compatible with dash
1 parent 506502d commit 3ef54c7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/templates/kuttl/restarter/10-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: TestAssert
44
timeout: 120
55
commands:
66
- script: |
7-
. test-script.sh
7+
. ./test-script.sh
88
99
# Wait for the StatefulSet to be deployed
1010
kubectl rollout status statefulset/test --namespace "$NAMESPACE"

tests/templates/kuttl/restarter/20-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: TestAssert
44
timeout: 180
55
commands:
66
- script: |
7-
. test-script.sh
7+
. ./test-script.sh
88
99
# Wait for a possible restart of the test pod.
1010
# The restarter controller is expected to ignore the changes in this step, so no restart

tests/templates/kuttl/restarter/21-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: TestAssert
44
timeout: 180
55
commands:
66
- script: |
7-
. test-script.sh
7+
. ./test-script.sh
88
99
# After a restart, all resources should have been updated.
1010

0 commit comments

Comments
 (0)