File: fix-testsuite-shell.patch

package info (click to toggle)
borgbackup2 2.0.0b19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,468 kB
  • sloc: python: 31,228; pascal: 3,510; sh: 216; makefile: 156; tcl: 94; ansic: 21
file content (15 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Adjous paths for .pybuild directory, to fix a test failure
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2025-07-23

--- borgbackup2-2.0.0b17.orig/src/borg/testsuite/shell_completions_test.py
+++ borgbackup2-2.0.0b17/src/borg/testsuite/shell_completions_test.py
@@ -3,7 +3,7 @@ import os
 
 import pytest
 
-SHELL_COMPLETIONS_DIR = Path(__file__).parent / ".." / ".." / ".." / "scripts" / "shell_completions"
+SHELL_COMPLETIONS_DIR = Path(__file__).parent / ".." / ".." / ".." / ".." / ".." / "scripts" / "shell_completions"
 
 
 def test_bash_completion_is_valid():