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:15:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 13:15:28 +0000
commitd7a1bb1fbb95bb44e0ccb6c939359807e45acf61 (patch)
tree9e8bef9f863056e5063fe2db75a90d8e92369f1a /debian/patches/0001-Disable-test-for-UserHomeDir.patch
parentAdding upstream version 1.17.13. (diff)
downloadgolang-1.17-d7a1bb1fbb95bb44e0ccb6c939359807e45acf61.tar.xz
golang-1.17-d7a1bb1fbb95bb44e0ccb6c939359807e45acf61.zip
Adding debian version 1.17.13-3.debian/1.17.13-3debian
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.patch20
1 files changed, 20 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..3cf9813
--- /dev/null
+++ b/debian/patches/0001-Disable-test-for-UserHomeDir.patch
@@ -0,0 +1,20 @@
+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(+)
+
+--- a/src/os/os_test.go
++++ b/src/os/os_test.go
+@@ -2540,6 +2540,8 @@
+ 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)