]> Cypherpunks repositories - gostls13.git/commit
os: skip Root.Chtimes atime check on netbsd, truncate a/mtime on plan9
authorDamien Neil <dneil@google.com>
Wed, 19 Mar 2025 23:37:16 +0000 (16:37 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 20 Mar 2025 05:21:07 +0000 (22:21 -0700)
commit4bc6c71ee013addb613c39dae364cf7a06694b47
tree6dccf9f64059fd17bf046662465597934eae9758
parentf23373985037221899b42cd8f33384f850ff89b4
os: skip Root.Chtimes atime check on netbsd, truncate a/mtime on plan9

The NetBSD builder has noatime set on its filesystem.
Skip testing the atime on this builder.

Plan9 has second precision on its atime and mtimes.
Truncate the values passed to Chtimes.

For #72957

Change-Id: I963e2dd34075a9ba025e80641f0b675d5d912188
Reviewed-on: https://go-review.googlesource.com/c/go/+/659356
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/os_test.go
src/os/root_test.go