Loading test/checksum.bats +4 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,10 @@ export RUBY_BUILD_SKIP_MIRROR=1 export RUBY_BUILD_CACHE_PATH= export RUBY_BUILD_CURL_OPTS= setup() { ensure_not_found_in_path aria2c } @test "package URL without checksum" { stub curl "-q -o * -*S* http://example.com/* : cp $FIXTURE_ROOT/\${5##*/} \$3" Loading test/hooks.bats +0 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ load test_helper setup() { ensure_not_found_in_path aria2c export RBENV_ROOT="${TMP}/rbenv" export HOOK_PATH="${TMP}/i has hooks" mkdir -p "$HOOK_PATH" Loading test/mirror.bats +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,10 @@ export RUBY_BUILD_CACHE_PATH= export RUBY_BUILD_MIRROR_URL=http://mirror.example.com export RUBY_BUILD_CURL_OPTS= setup() { ensure_not_found_in_path aria2c } @test "package URL without checksum bypasses mirror" { stub shasum true Loading test/rbenv.bats +0 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ load test_helper export RBENV_ROOT="${TMP}/rbenv" setup() { ensure_not_found_in_path aria2c stub rbenv-hooks 'install : true' stub rbenv-rehash 'true' } Loading test/test_helper.bash +0 −4 Original line number Diff line number Diff line Loading @@ -38,10 +38,6 @@ ensure_not_found_in_path() { done } setup() { ensure_not_found_in_path aria2c } teardown() { rm -fr "${TMP:?}"/* } Loading bin/ruby-build +2 −2 File changed.Contains only whitespace changes. Show changes Loading
test/checksum.bats +4 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,10 @@ export RUBY_BUILD_SKIP_MIRROR=1 export RUBY_BUILD_CACHE_PATH= export RUBY_BUILD_CURL_OPTS= setup() { ensure_not_found_in_path aria2c } @test "package URL without checksum" { stub curl "-q -o * -*S* http://example.com/* : cp $FIXTURE_ROOT/\${5##*/} \$3" Loading
test/hooks.bats +0 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ load test_helper setup() { ensure_not_found_in_path aria2c export RBENV_ROOT="${TMP}/rbenv" export HOOK_PATH="${TMP}/i has hooks" mkdir -p "$HOOK_PATH" Loading
test/mirror.bats +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,10 @@ export RUBY_BUILD_CACHE_PATH= export RUBY_BUILD_MIRROR_URL=http://mirror.example.com export RUBY_BUILD_CURL_OPTS= setup() { ensure_not_found_in_path aria2c } @test "package URL without checksum bypasses mirror" { stub shasum true Loading
test/rbenv.bats +0 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ load test_helper export RBENV_ROOT="${TMP}/rbenv" setup() { ensure_not_found_in_path aria2c stub rbenv-hooks 'install : true' stub rbenv-rehash 'true' } Loading
test/test_helper.bash +0 −4 Original line number Diff line number Diff line Loading @@ -38,10 +38,6 @@ ensure_not_found_in_path() { done } setup() { ensure_not_found_in_path aria2c } teardown() { rm -fr "${TMP:?}"/* } Loading