1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/ruby-rugged/libgit2-fixture-dir.patch
2018-02-21 23:15:10 +01:00

12 lines
431 B
Diff

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -130,7 +130,8 @@
end
TEST_DIR = File.dirname(File.expand_path(__FILE__))
- LIBGIT2_FIXTURE_DIR = File.expand_path("../../vendor/libgit2/tests/resources", __FILE__)
+ LIBGIT2_FIXTURE_DIR = ENV['LIBGIT2_FIXTURE_DIR'] \
+ || File.expand_path("../../vendor/libgit2/tests/resources", __FILE__)
end
class OnlineTestCase < TestCase