diff --git a/cmd/restic/integration_helpers_test.go b/cmd/restic/integration_helpers_test.go index cf6e6dfea..2fb026512 100644 --- a/cmd/restic/integration_helpers_test.go +++ b/cmd/restic/integration_helpers_test.go @@ -72,7 +72,7 @@ func sameModTime(fi1, fi2 os.FileInfo) bool { } same := fi1.ModTime().Equal(fi2.ModTime()) - if !same && runtime.GOOS == "darwin" { + if !same && (runtime.GOOS == "darwin" || runtime.GOOS == "openbsd") { // Allow up to 1μs difference, because macOS <10.13 cannot restore // with nanosecond precision and the current version of Go (1.9.2) // does not yet support the new syscall. (#1087)