From 398739326c6a75c0e091cb7be0df48f4a813a4f5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 15:14:25 +0200 Subject: Adding debian version 1.16.10-1. Signed-off-by: Daniel Baumann --- .../0001-Disable-test-for-UserHomeDir.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/patches/0001-Disable-test-for-UserHomeDir.patch (limited to 'debian/patches/0001-Disable-test-for-UserHomeDir.patch') diff --git a/debian/patches/0001-Disable-test-for-UserHomeDir.patch b/debian/patches/0001-Disable-test-for-UserHomeDir.patch new file mode 100644 index 0000000..9be557a --- /dev/null +++ b/debian/patches/0001-Disable-test-for-UserHomeDir.patch @@ -0,0 +1,22 @@ +From: "Dr. Tobias Quathamer" +Date: Wed, 19 Dec 2018 14:25:06 +0100 +Subject: Disable test for UserHomeDir. + +On Debian buildds, the user home dir does not exist, so this test fails. +--- + src/os/os_test.go | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/os/os_test.go b/src/os/os_test.go +index e8c6451..8485c85 100644 +--- a/src/os/os_test.go ++++ b/src/os/os_test.go +@@ -2446,6 +2446,8 @@ func TestUserHomeDir(t *testing.T) { + if err != nil { + t.Skipf("UserHomeDir failed: %v", err) + } ++ // On Debian buildds, the user home dir does not exist. ++ t.Skip("UserHomeDir does not exist on Debian buildds.") + fi, err := Stat(dir) + if err != nil { + t.Fatal(err) -- cgit v1.2.3