projects
/
golang-1.18.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47086d
)
Disable test for UserHomeDir.
author
Dr. Tobias Quathamer
<toddy@debian.org>
Wed, 19 Dec 2018 13:25:06 +0000
(14:25 +0100)
committer
William 'jawn-smith' Wilson
<jawn-smith@ubuntu.com>
Thu, 3 Nov 2022 13:20:54 +0000
(13:20 +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
patch
|
blob
|
history
diff --git
a/src/os/os_test.go
b/src/os/os_test.go
index 63427deb6e01cfbd0f3b8051428ffd5f817f2141..16953758b13911dde6c0fe23d9710b8b5f9d4199 100644
(file)
--- a/
src/os/os_test.go
+++ b/
src/os/os_test.go
@@
-2534,6
+2534,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)