mirror of
https://github.com/restic/restic.git
synced 2025-08-20 13:27:31 +00:00
Refactor skipping symlink ModTime checks, add OpenBSD
This commit is contained in:
@@ -153,10 +153,10 @@ func TestNodeRestoreAt(t *testing.T) {
|
||||
func AssertFsTimeEqual(t *testing.T, label string, nodeType string, t1 time.Time, t2 time.Time) {
|
||||
var equal bool
|
||||
|
||||
// Go currently doesn't support setting timestamps of symbolic links on darwin and freebsd
|
||||
// Go currently doesn't support setting timestamps of symbolic links on darwin and bsd
|
||||
if nodeType == "symlink" {
|
||||
switch runtime.GOOS {
|
||||
case "darwin", "freebsd":
|
||||
case "darwin", "freebsd", "openbsd":
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user