File: libgit2-fixtures-path.patch

package info (click to toggle)
ruby-rugged 1.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,752 kB
  • sloc: ansic: 8,722; ruby: 7,473; sh: 99; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: adapt path for libgit2 fixtures
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2021-01-06

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -142,7 +142,7 @@
     end
 
     TEST_DIR = File.dirname(File.expand_path(__FILE__))
-    LIBGIT2_FIXTURE_DIR = File.expand_path("../../vendor/libgit2/tests/resources", __FILE__)
+    LIBGIT2_FIXTURE_DIR = File.expand_path("/usr/share/doc/libgit2-fixtures/examples/")
   end
 
   class OnlineTestCase < TestCase