aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/fix-unit-tests
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-05 20:57:28 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-09-05 20:57:28 -0500
commitb5b5aa22cb9a6e65fc4ba7b8b5f5aff7a2450aec (patch)
treec26f2fc98f8a9f6e444c73fc556993030851548c /debian/patches/fix-unit-tests
parentb3b33416fd6c83486e1082fda37878ae1bb1cc62 (diff)
Temp unit test fix
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)