diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-20 06:54:47 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-20 06:54:47 -0600 |
| commit | 077910c9030c3e39ff6595e4954d9d88f8d2954e (patch) | |
| tree | 663f9a0c85d2a1836ca71e8042dc6ebb3673de89 /TODO.org | |
| parent | 5f690e158438bdb99607d4cc10e9b983251b0fe9 (diff) | |
| download | archangel-077910c9030c3e39ff6595e4954d9d88f8d2954e.tar.gz archangel-077910c9030c3e39ff6595e4954d9d88f8d2954e.zip | |
Fix full-test.sh exiting after first passed test
Bug: ((TESTS_PASSED++)) returns exit code 1 when TESTS_PASSED is 0,
because post-increment evaluates the old value (0) which is falsy.
With set -e, this caused the script to exit after the first test passed.
Fix: Use pre-increment ((++TESTS_PASSED)) which returns the new value.
Diffstat (limited to 'TODO.org')
0 files changed, 0 insertions, 0 deletions
