Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Sep 23, 2024
1 parent c920a5b commit 7f27adf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/build.bats
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,19 @@ make install
OUT
}

@test "definition file with ruby prefix" {
export RUBY_BUILD_CACHE_PATH="$FIXTURE_ROOT"

cd "$TMP"
cat > ruby-123-internal <<DEF
install_package "package-1.0.0" "http://example.com/packages/package-1.0.0.tar.gz" copy
DEF

run ruby-build ruby-123-internal "$INSTALL_ROOT"
assert_success
assert [ -x "$INSTALL_ROOT"/bin/package ]
}

@test "custom relative install destination" {
export RUBY_BUILD_CACHE_PATH="$FIXTURE_ROOT"

Expand Down

0 comments on commit 7f27adf

Please sign in to comment.