File: 0001-fix-path-for-tests.patch

package info (click to toggle)
golang-robfig-config 0.0~git20141208-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 164 kB
  • ctags: 69
  • sloc: makefile: 3
file content (17 lines) | stat: -rw-r--r-- 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: golang-robfig-config-0.0~git20141208/all_test.go
===================================================================
--- golang-robfig-config-0.0~git20141208.orig/all_test.go
+++ golang-robfig-config-0.0~git20141208/all_test.go
@@ -23,9 +23,9 @@ import (
 )
 
 const (
-	tmpFilename    = "testdata/__test.go"
-	sourceFilename = "testdata/source.cfg"
-	targetFilename = "testdata/target.cfg"
+	tmpFilename    = "../../../../../testdata/__test.go"
+	sourceFilename = "../../../../../testdata/source.cfg"
+	targetFilename = "../../../../../testdata/target.cfg"
 )
 
 func testGet(t *testing.T, c *Config, section string, option string,