summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Disable-test-for-UserHomeDir.patch
blob: 06f8291a995477f56c025fe2702bb5c005667fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 277b245..874215e 100644
--- a/src/os/os_test.go
+++ b/src/os/os_test.go
@@ -2556,6 +2556,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)