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:
477c157
)
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>
Tue, 6 Dec 2022 19:39:48 +0000
(19:39 +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 4124be13cc5421d5c0809405e7242830fb62aa03..43c499daaab3ab9dc56932cbcf7270aea7a3dfea 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)