fs: fix filename normalization issues in the tests when running on OS X

This commit is contained in:
Nick Craig-Wood
2017-09-17 14:05:33 +01:00
parent 12405f9f41
commit 87335de8a8
3 changed files with 35 additions and 13 deletions

View File

@ -3,6 +3,7 @@
package fs_test
import (
"runtime"
"testing"
"time"
@ -965,6 +966,10 @@ func TestSyncBackupDirWithSuffix(t *testing.T) { testSyncBackupDir(t, ".bak") }
// Check we can sync two files with differing UTF-8 representations
func TestSyncUTFNorm(t *testing.T) {
if runtime.GOOS == "darwin" {
t.Skip("Can't test UTF normalization on OS X")
}
r := NewRun(t)
defer r.Finalise()