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>
Fri, 11 Jan 2019 16:14:43 +0000 (16:14 +0000)
On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0004-Disable-test-for-UserHomeDir.patch

src/os/os_test.go

index 9c4d5dada9a106b9c20c593bd157a88b804e6371..cd6db26d759ee6da7212ee8c44841ecc5df6b507 100644 (file)
@@ -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)