From 6af4d9760b946c1b46a4aa1b362971a400b11fef Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Quathamer" Date: Wed, 19 Dec 2018 14:25:06 +0100 Subject: [PATCH] Disable test for UserHomeDir. On Debian buildds, the user home dir does not exist, so this test fails. Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch --- 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 e8c64510..8485c855 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) -- 2.30.2