Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix run-test for macOS standard tools (#948)
* Fix `run-test` for macOS standard tools BSD sed requires an argument with `-i` (backup file extension, disabling backup file creation by providing an empty string; this is the default for GNU sed when `-i` is specified without an argument). Further, `/bin/bash` shipping with macOS 14 doesn't like `${*}` when the argument list is empty (at least in the context it is used in `run-tests`). The fix of having a distinct message for the case where `${*}` is empty also improves the behavior for cases where a version of Bash is used that does not complain about an empty `${*}`. This has been tested on macOS Sonoma 14.3, but probably also applies to earlier versions. * Fix run-tests example
- Loading branch information