Skip to content

Commit

Permalink
Merge pull request #2228 from rbenv/freebsd-openssl-dir-test
Browse files Browse the repository at this point in the history
Avoid test failure when stubbing FreeBSD environment
  • Loading branch information
mislav authored Aug 2, 2023
2 parents 86b2538 + 242e8be commit 9862a16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/build.bats
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ OUT
stub_make_install

export -n MAKE_OPTS
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/test"
run_inline_definition <<DEF
install_package "ruby-2.0.0" "http://ruby-lang.org/ruby/2.0/ruby-2.0.0.tar.gz"
DEF
Expand All @@ -344,7 +345,7 @@ DEF
unstub make

assert_build_log <<OUT
ruby-2.0.0: --prefix=$INSTALL_ROOT
ruby-2.0.0: --prefix=$INSTALL_ROOT --with-openssl-dir=/test
make -j 1
make install
OUT
Expand Down

0 comments on commit 9862a16

Please sign in to comment.