fstests: don't run encoding tests on -short

This commit is contained in:
Nick Craig-Wood 2021-01-26 14:46:23 +00:00
parent c57af26de9
commit e776a1b122
1 changed files with 3 additions and 0 deletions

View File

@ -606,6 +606,9 @@ func Run(t *testing.T, opt *Opt) {
// Must be run in an empty directory
t.Run("FsEncoding", func(t *testing.T) {
skipIfNotOk(t)
if testing.Short() {
t.Skip("not running with -short")
}
// check no files or dirs as pre-requisite
fstest.CheckListingWithPrecision(t, f, []fstest.Item{}, []string{}, fs.GetModifyWindow(ctx, f))