We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc94094 commit 3afee43Copy full SHA for 3afee43
src/os/os_test.go
@@ -583,6 +583,12 @@ func TestHardLink(t *testing.T) {
583
if runtime.GOOS == "plan9" {
584
t.Skip("skipping on plan9, hardlinks not supported")
585
}
586
+ // From Android release M (Marshmallow), hard linking files is blocked
587
+ // and an attempt to call link() on a file will return EACCES.
588
+ // - https://code.google.com/p/android-developer-preview/issues/detail?id=3150
589
+ if runtime.GOOS == "android" {
590
+ t.Skip("skipping on android, hardlinks not supported")
591
+ }
592
defer chtmpdir(t)()
593
from, to := "hardlinktestfrom", "hardlinktestto"
594
Remove(from) // Just in case.
0 commit comments