From: Dr. Tobias Quathamer Date: Wed, 19 Dec 2018 13:25:06 +0000 (+0100) Subject: Disable test for UserHomeDir. X-Git-Tag: archive/raspbian/1.13.1-1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bf1e75ee630d55527b3cc2fb85048883756b3c7c;p=golang-1.13.git Disable test for UserHomeDir. On Debian buildds, the user home dir does not exist, so this test fails. Gbp-Pq: Name 0004-Disable-test-for-UserHomeDir.patch --- diff --git a/src/os/os_test.go b/src/os/os_test.go index 9c4d5da..cd6db26 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -2307,6 +2307,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)