diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 13:16:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 13:16:42 +0000 |
commit | 073a8e76266c6f87b605b8cb46bfca3109ade460 (patch) | |
tree | f974eea97fec3e7a9d84d674ca1771fa2e2e486e /debian/patches/0001-Disable-test-for-UserHomeDir.patch | |
parent | Adding upstream version 1.18.10. (diff) | |
download | golang-1.18-073a8e76266c6f87b605b8cb46bfca3109ade460.tar.xz golang-1.18-073a8e76266c6f87b605b8cb46bfca3109ade460.zip |
Adding debian version 1.18.10-1.debian/1.18.10-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-Disable-test-for-UserHomeDir.patch')
-rw-r--r-- | debian/patches/0001-Disable-test-for-UserHomeDir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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..29a38b1 --- /dev/null +++ b/debian/patches/0001-Disable-test-for-UserHomeDir.patch @@ -0,0 +1,22 @@ +From: "Dr. Tobias Quathamer" <toddy@debian.org> +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 63427de..1695375 100644 +--- a/src/os/os_test.go ++++ b/src/os/os_test.go +@@ -2534,6 +2534,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) |