summaryrefslogtreecommitdiff
path: root/debian/patches/fix-unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-unit-tests')
-rw-r--r--debian/patches/fix-unit-tests13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix-unit-tests b/debian/patches/fix-unit-tests
new file mode 100644
index 0000000..5e914d2
--- /dev/null
+++ b/debian/patches/fix-unit-tests
@@ -0,0 +1,13 @@
+Index: planr/fs_test.go
+===================================================================
+--- planr.orig/fs_test.go
++++ planr/fs_test.go
+@@ -15,7 +15,7 @@ func TestCname(t *testing.T) {
+ }
+
+ for _, vec := range v {
+- got := cname(ROOT, vec.path)
++ got := Cname(ROOT, vec.path)
+
+ if vec.cname != got {
+ t.Fatalf("Cname(%s) = %s, wanted %s", vec.path, got, vec.cname)