diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 23:15:10 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 23:15:10 +0100 |
commit | bf12ff41d1483a3a7c3052783574e5ee6d66e108 (patch) | |
tree | 63ec7820c3f5dc267c9e213cd94c92a79131820f /community/ruby-rugged/libgit2-fixture-dir.patch | |
parent | 753b0965d13f776141816e9fbacd56f172c65cdb (diff) | |
download | aports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.bz2 aports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.xz |
community/ruby-rugged: move from testing
Diffstat (limited to 'community/ruby-rugged/libgit2-fixture-dir.patch')
-rw-r--r-- | community/ruby-rugged/libgit2-fixture-dir.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ruby-rugged/libgit2-fixture-dir.patch b/community/ruby-rugged/libgit2-fixture-dir.patch new file mode 100644 index 0000000000..9d6a24de38 --- /dev/null +++ b/community/ruby-rugged/libgit2-fixture-dir.patch @@ -0,0 +1,12 @@ +--- 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 |