Commit 0fffb35
committed
fix(test): guard release sandbox tests for Bash 3.0.0 compatibility
In unpatched Bash 3.0.0, `return` in a sourced file inside a for loop
may not properly return from the source. Use if/else guard to prevent
test function definitions when running under Bash 3.0.
Also revert debug CI workflow changes.1 parent 0b54500 commit 0fffb35
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
0 commit comments