Skip to content

Commit

Permalink
always support recurse in tests scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-skrenkovic committed May 3, 2024
1 parent 32dbb88 commit 482c2fe
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,15 +598,6 @@ func isSolaris() bool {
return false
}

func supportsRecurse(t *testing.T) {
switch runtime.GOOS {
case "windows":
// Run test.
default:
t.Skip("recursion not yet supported on " + runtime.GOOS)
}
}

func supportsFilter(t *testing.T) {
switch runtime.GOOS {
case "linux":
Expand Down Expand Up @@ -781,7 +772,7 @@ loop:
t.Skip(`"mknod fails with "not owner"`)
}
case "recurse":
supportsRecurse(t)
// noop - fsevents works with recurse by default
case "filter":
supportsFilter(t)
case "nofollow":
Expand Down

0 comments on commit 482c2fe

Please sign in to comment.