mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/git: fix tests
Ensure the right version of process_executer is used. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -35,6 +35,9 @@ ruby_add_rdepend "
|
||||
ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar:1 >=dev-ruby/mocha-2.1:2 dev-ruby/test-unit:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '2igem "process_executer", "~> 1.0"' \
|
||||
-i tests/test_helper.rb || die
|
||||
|
||||
# Don't use hardcoded /tmp directory.
|
||||
sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user