Skip to content

Commit 813020c

Browse files
Enable some more fsevent tests
1 parent 322210b commit 813020c

File tree

1 file changed

+7
-7
lines changed
  • test/Streamly/Test/FileSystem/Event

1 file changed

+7
-7
lines changed

test/Streamly/Test/FileSystem/Event/Linux.hs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Streamly.Test.FileSystem.Event.Linux (main) where
1212

1313
import Streamly.Internal.FileSystem.Event.Linux (Event)
1414
-- #if __GLASGOW_HASKELL__ == 902
15-
#if 1
15+
#if 0
1616
import qualified Data.List as List
1717
#endif
1818
import qualified Streamly.Internal.FileSystem.Event.Linux as Event
@@ -113,7 +113,7 @@ main = do
113113
let w = Event.watchWith (Event.setAllEvents True)
114114
run = runTests moduleName "non-recursive" w
115115

116-
#if 1
116+
#if 0
117117
let failingTests =
118118
[ "File deleted (file1)"
119119
, "File modified (file1)"
@@ -122,13 +122,13 @@ main = do
122122
#endif
123123

124124
run DirType
125-
#if 1
125+
#if 0
126126
$ filter (\(desc, _, _, _) -> desc `List.notElem` failingTests)
127127
#endif
128128
regTests
129129

130130
run SymLinkOrigPath
131-
#if 1
131+
#if 0
132132
$ filter (\(desc, _, _, _) -> desc `List.notElem` failingTests)
133133
#endif
134134
symTests
@@ -186,7 +186,7 @@ main = do
186186
-- uncaught exception: IOException of type ResourceBusy
187187
-- /tmp/fsevent_dir-a5bd0df64c44ab27/watch-root/file: openFile: resource busy (file is locked)
188188

189-
#if 1
189+
#if 0
190190
let failingRecTests = failingTests ++
191191
[ "File created (subdir/file)"
192192
, "File deleted (subdir/file1)"
@@ -196,13 +196,13 @@ main = do
196196
#endif
197197

198198
runRec DirType
199-
#if 1
199+
#if 0
200200
$ filter (\(desc, _, _, _) -> desc `List.notElem` failingRecTests)
201201
#endif
202202
recRegTests
203203

204204
runRec SymLinkOrigPath
205-
#if 1
205+
#if 0
206206
$ filter (\(desc, _, _, _) -> desc `List.notElem` failingRecTests)
207207
#endif
208208
recSymTests

0 commit comments

Comments
 (0)