summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Disable-test-for-UserHomeDir.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 13:14:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 13:14:25 +0000
commit398739326c6a75c0e091cb7be0df48f4a813a4f5 (patch)
treebc890762d77f42f8840c214c1a1b8f70060e6308 /debian/patches/0001-Disable-test-for-UserHomeDir.patch
parentAdding upstream version 1.16.10. (diff)
downloadgolang-1.16-398739326c6a75c0e091cb7be0df48f4a813a4f5.tar.xz
golang-1.16-398739326c6a75c0e091cb7be0df48f4a813a4f5.zip
Adding debian version 1.16.10-1.debian/1.16.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.patch22
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..9be557a
--- /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 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)