diff options
| author | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 22:05:23 +0100 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-21 22:10:40 +0100 |
| commit | dbcf83d41d2df26a3113644b7a5d06783600f3a4 (patch) | |
| tree | 7515114eb528dfdf4ec5cfc0dd12e233a1b126f3 /testing/ruby-rugged/libgit2-fixture-dir.patch | |
| parent | 85f76ec26306ea84e1ce3cfc602fca6afb6d7300 (diff) | |
| download | aports-dbcf83d41d2df26a3113644b7a5d06783600f3a4.tar.bz2 aports-dbcf83d41d2df26a3113644b7a5d06783600f3a4.tar.xz | |
testing/ruby-rugged: enable check
Diffstat (limited to 'testing/ruby-rugged/libgit2-fixture-dir.patch')
| -rw-r--r-- | testing/ruby-rugged/libgit2-fixture-dir.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/ruby-rugged/libgit2-fixture-dir.patch b/testing/ruby-rugged/libgit2-fixture-dir.patch new file mode 100644 index 0000000000..9d6a24de38 --- /dev/null +++ b/testing/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 |
