Commit graph

9 commits

Author SHA1 Message Date
Mislav Marohnić
31e53468b6
Automatically link to Homebrew OpenSSL
If a system OpenSSL version was not found or is at version that is incompatible with a Ruby being installed, ruby-build would typically download and compile a new OpenSSL version scoped to that Ruby installation.

Now the `needs_openssl` condition will also check for Homebrew-installed OpenSSL and automatically link to the first one found that satisfies the version requirement. This primarily helps speed up Ruby installation on macOS where the system OpenSSL is never compatible and where Homebrew is a de-facto standard package manager.
2023-11-02 13:53:50 +01:00
Mislav Marohnić
6b6fa457a0
Enable test assertions to spot erraneous word-splitting in bash 2023-10-11 18:02:07 +02:00
Mislav Marohnić
4079aa75cd
add stub_repeated test helper 2023-03-06 19:15:49 +01:00
Mislav Marohnić
501855c9ac Fix stubbing programs that have dashes in them 2014-01-05 18:58:57 +01:00
Mislav Marohnić
9a2c45bab6 Add ability to debug stub calls in testing
Example:

        export RAKE_STUB_DEBUG=2
2013-10-26 18:29:36 +02:00
Mislav Marohnić
892ac95943 Prevent glob expansion in stub patterns
When stub patterns were broken down into an array, they were
accidentally subject to glob expansion. E.g., a pattern '*' might expand
to whatever is in the current directory. This is unwanted, as we need to
preserve patterns as-is.
2013-10-25 04:14:13 +02:00
Mislav Marohnić
5b6700cbf9 Simplify stubbing commands in tests
No more awkward juggling of PATH entries and preset stubs in version
control. Commands are stubbed by symlinking the main stub from a
temporary `$TMP/bin` directory that's added once to PATH in tests.
2013-10-25 02:01:50 +02:00
Mislav Marohnić
a9a274e624 Fix broken test suite
Fixes breakage caused by curl arguments change in
d0912e4fb5
2013-10-24 00:32:55 +02:00
Sam Stephenson
275b2f5919 Test checksumming 2012-11-19 18:14:26 -06:00