diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-20 14:18:00 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 15:51:13 -0300 |
commit | 744df0e5bf1ed712478c3df6aa28901f38d7189f (patch) | |
tree | 7dd31e8f98d709673fa180593fd2a2ef38071135 /spec | |
parent | 0bab439d4b8f3d4c62340f7e0f6accca3355b30a (diff) | |
download | luarocks-744df0e5bf1ed712478c3df6aa28901f38d7189f.tar.gz luarocks-744df0e5bf1ed712478c3df6aa28901f38d7189f.tar.bz2 luarocks-744df0e5bf1ed712478c3df6aa28901f38d7189f.zip |
Tests: ensure that tests do not accidentally find a project dir
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util/test_env.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua index 1d4e98d8..269a1cfc 100644 --- a/spec/util/test_env.lua +++ b/spec/util/test_env.lua | |||
@@ -839,6 +839,7 @@ function test_env.main() | |||
839 | end | 839 | end |
840 | 840 | ||
841 | lfs.mkdir(testing_paths.testrun_dir) | 841 | lfs.mkdir(testing_paths.testrun_dir) |
842 | test_env.write_file(testing_paths.testrun_dir .. "/.luarocks-no-project", "") | ||
842 | lfs.mkdir(testing_paths.testing_cache) | 843 | lfs.mkdir(testing_paths.testing_cache) |
843 | lfs.mkdir(testing_paths.luarocks_tmp) | 844 | lfs.mkdir(testing_paths.luarocks_tmp) |
844 | 845 | ||