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:
d89bfae
)
Disable test for UserHomeDir.
author
Dr. Tobias Quathamer
<toddy@debian.org>
Wed, 19 Dec 2018 13:25:06 +0000
(14:25 +0100)
committer
Shengjing Zhu
<zhsj@debian.org>
Wed, 11 Jan 2023 08:33:29 +0000
(08:33 +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 3721e15027d5b5b9286fc73d5827a83adcc90c95..cfad4182024e23b9cea9a027ec0e1dd3ef2130e6 100644
(file)
--- a/
src/os/os_test.go
+++ b/
src/os/os_test.go
@@
-2536,6
+2536,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)