summaryrefslogtreecommitdiffstats
path: root/tests/util.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use variable redirections to dup std{out,err}Tavian Barnes2024-02-011-9/+8
| | | | | | | | | | | Previously, we hardcoded file descriptors 3 and 4 for duplicating stdandard output/error respectively. In preparation for keeping inherited FDs open, switch to using bash's variable redirection feature to dynamically assign FDs. This feature is only available from bash 4.1 onwards, so this marks the end of our support for bash 3. macOS users will need to install a modern bash version to run our tests.
* tests: Set abort_on_error for the sanitizersTavian Barnes2023-11-231-1/+1
|
* tests: Fix Bash 3 compatibilityTavian Barnes2023-10-231-6/+5
|
* tests/color: Remove some useless catsTavian Barnes2023-10-201-4/+4
|
* tests: Don't unset array[-1]Tavian Barnes2023-10-191-6/+7
| | | | This was only added in Bash 4.3 which is too new for macOS.
* tests: Refactor implementation into separate filesTavian Barnes2023-10-191-0/+189