diff options
Diffstat (limited to 'test/tclient/tests/library-ignore-limit.lua')
-rw-r--r-- | test/tclient/tests/library-ignore-limit.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tclient/tests/library-ignore-limit.lua b/test/tclient/tests/library-ignore-limit.lua index baf42978..dcf8717a 100644 --- a/test/tclient/tests/library-ignore-limit.lua +++ b/test/tclient/tests/library-ignore-limit.lua @@ -21,7 +21,9 @@ lclient():start(function (client) end) fs.create_directories(fs.path(libraryPath)) - util.saveFile(largeFilePath, string.rep('--this is a large file\n', 100000)) + if not fs.exists(fs.path(largeFilePath)) then + util.saveFile(largeFilePath, string.rep('--this is a large file\n', 100000)) + end client:initialize() |