Debian Codegraph @

debian/patches/0001-Fix-FTBFS-with-golang-1.26.patch

raw
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Fri, 27 Feb 2026 21:23:54 +0100
3 Subject: Fix FTBFS with golang 1.26
4
5 The error is in cmd.go, line 546
6 TestScript.Fatalf format %q has arg bgName of wrong type int
7 ---
8 testscript/cmd.go | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/testscript/cmd.go b/testscript/cmd.go
12 index 55abd31..c2e04db 100644
13 --- a/testscript/cmd.go
14 +++ b/testscript/cmd.go
15 @@ -543,7 +543,7 @@ func (ts *TestScript) killBackground(signal os.Signal) {
16 for bgName, bg := range ts.background {
17 err := bg.cmd.Process.Signal(signal)
18 if err != nil {
19 - ts.Fatalf("unexpected error terminating background command %q: %v", bgName, err)
20 + ts.Fatalf("unexpected error terminating background command %v: %v", bgName, err)
21 }
22 }
23 }