Refactor skipping symlink ModTime checks, add OpenBSD

This commit is contained in:
Alexander Neumann
2015-07-20 21:29:21 +02:00
parent bd3ce5d4a3
commit 258b6a77ee
2 changed files with 21 additions and 10 deletions

View File

@@ -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
}
}