Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ce8b32d4fca69ba96e2f7679c3b9fbdf183a35e0 https://github.com/Perl/perl5/commit/ce8b32d4fca69ba96e2f7679c3b9fbdf183a35e0 Author: Craig A. Berry <craigbe...@mac.com> Date: 2023-04-16 (Sun, 16 Apr 2023)
Changed paths: M t/harness Log Message: ----------- t/harness: avoid brace expansion Brace expansion is not available in a POSIX shell, is handled slightly differently by the shells that do support it, and is unlikely to work when the underlying implementation for Perl's glob() function is not a Unix shell. So instead of doing: {foo,bar,baz}/*.t just accumulate the results of simpler glob operations: foo/*.t bar/*.t baz/*.t This also allows us to dispense with the recursive function _extract_tests() and its fancy dispatch based on reference type; we would only ever be calling it with a simple string argument, so we might as well just call glob() directly.