Commit 2d2eef70 authored by Yamashita, Yuu's avatar Yamashita, Yuu
Browse files

Remove `aria2c` from PATH to use `curl` stub during test

parent e56f6cf8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ export CC=cc
export -n RUBY_CONFIGURE_OPTS

setup() {
  ensure_not_found_in_path aria2c
  mkdir -p "$INSTALL_ROOT"
  stub md5 false
  stub aria2c false
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ export RUBY_BUILD_CACHE_PATH="$TMP/cache"
export RUBY_BUILD_ARIA2_OPTS=

setup() {
  ensure_not_found_in_path aria2c
  mkdir "$RUBY_BUILD_CACHE_PATH"
}

+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ export RUBY_BUILD_SKIP_MIRROR=1
export RUBY_BUILD_CACHE_PATH=

setup() {
  ensure_not_found_in_path aria2c
  export RUBY_BUILD_BUILD_PATH="${TMP}/source"
  mkdir -p "${RUBY_BUILD_BUILD_PATH}"
}
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
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"
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ 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