aboutsummaryrefslogtreecommitdiff
path: root/spec/util
diff options
context:
space:
mode:
Diffstat (limited to 'spec/util')
-rw-r--r--spec/util/test_env.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index d4591c91..8aebd74e 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -709,7 +709,9 @@ end
709--- Create configs for luacov and several versions of Luarocks 709--- Create configs for luacov and several versions of Luarocks
710-- configs needed for some tests. 710-- configs needed for some tests.
711local function create_configs() 711local function create_configs()
712 -- testing_config.lua and testing_config_show_downloads.lua 712 -- testing_config.lua
713 -- testing_config_show_downloads.lua
714 -- testing_config_no_downloader.lua
713 local config_content = substitute([[ 715 local config_content = substitute([[
714 rocks_trees = { 716 rocks_trees = {
715 "%{testing_tree}", 717 "%{testing_tree}",
@@ -737,6 +739,8 @@ local function create_configs()
737 test_env.write_file(test_env.testing_paths.testrun_dir .. "/testing_config.lua", config_content .. " \nweb_browser = \"true\"") 739 test_env.write_file(test_env.testing_paths.testrun_dir .. "/testing_config.lua", config_content .. " \nweb_browser = \"true\"")
738 test_env.write_file(test_env.testing_paths.testrun_dir .. "/testing_config_show_downloads.lua", config_content 740 test_env.write_file(test_env.testing_paths.testrun_dir .. "/testing_config_show_downloads.lua", config_content
739 .. "show_downloads = true \n rocks_servers={\"http://luarocks.org/repositories/rocks\"}") 741 .. "show_downloads = true \n rocks_servers={\"http://luarocks.org/repositories/rocks\"}")
742 test_env.write_file(test_env.testing_paths.testrun_dir .. "/testing_config_no_downloader.lua", config_content
743 .. "variables = { WGET = 'invalid', CURL = 'invalid' }")
740 744
741 -- testing_config_sftp.lua 745 -- testing_config_sftp.lua
742 config_content = substitute([[ 746 config_content = substitute([[