File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55- Fix typo "to has been called"
66- Add weekly downloads to the docs
7+ - Fix parallel runner
78
89## [ 0.20.0] ( https://github.com/TypedDevs/bashunit/compare/0.19.1...0.20.0 ) - 2025-06-01
910
Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ function env::print_verbose() {
120120}
121121
122122EXIT_CODE_STOP_ON_FAILURE=4
123- TEMP_DIR_PARALLEL_TEST_SUITE=" /tmp/bashunit/parallel/${_OS:- Unknown} "
123+ # Use a unique directory per run to avoid conflicts when bashunit is invoked
124+ # recursively or multiple instances are executed in parallel.
125+ TEMP_DIR_PARALLEL_TEST_SUITE=" /tmp/bashunit/parallel/${_OS:- Unknown} /$( random_str 8) "
124126TEMP_FILE_PARALLEL_STOP_ON_FAILURE=" $TEMP_DIR_PARALLEL_TEST_SUITE /.stop-on-failure"
125127TERMINAL_WIDTH=" $( env::find_terminal_width) "
126128FAILURES_OUTPUT_PATH=$( mktemp)
You can’t perform that action at this time.
0 commit comments