From e776a1b1229cd55b1317b0e2e4fe2eb761447107 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 26 Jan 2021 14:46:23 +0000 Subject: [PATCH] fstests: don't run encoding tests on -short --- fstest/fstests/fstests.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go index 854287c4c..8bb575074 100644 --- a/fstest/fstests/fstests.go +++ b/fstest/fstests/fstests.go @@ -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))