Disable test for UserHomeDir.
authorDr. Tobias Quathamer <toddy@debian.org>
Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)
committerDr. Tobias Quathamer <toddy@debian.org>
Thu, 5 Dec 2019 11:27:21 +0000 (11:27 +0000)
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

index c101281258309a59f5fd4bd07c5e425ba9974d0b..929641d2cbeda7b0fc443f8fe4a871853fea538f 100644 (file)
@@ -2343,6 +2343,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)