diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-30 15:21:05 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-30 19:52:17 -0300 |
commit | 43adf5df7465c39a9f6fc735654aabac991cabb5 (patch) | |
tree | 2b8a4e93bc2334a5f546cba9dcad4cb99332576e /spec/deps_spec.lua | |
parent | ad4b4b29a7af9c8df859781dab51ef38a9a9895d (diff) | |
download | luarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.tar.gz luarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.tar.bz2 luarocks-43adf5df7465c39a9f6fc735654aabac991cabb5.zip |
Tests: make sure tests run from testrun/
Diffstat (limited to 'spec/deps_spec.lua')
-rw-r--r-- | spec/deps_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/deps_spec.lua b/spec/deps_spec.lua index 76ee68a7..67c1335f 100644 --- a/spec/deps_spec.lua +++ b/spec/deps_spec.lua | |||
@@ -85,7 +85,7 @@ describe("LuaRocks deps tests #blackbox #b_deps", function() | |||
85 | lfs.chdir("lxsh-0.8.6-2/lxsh-0.8.6-1/") | 85 | lfs.chdir("lxsh-0.8.6-2/lxsh-0.8.6-1/") |
86 | assert.is_true(run.luarocks_bool("make --tree=" .. testing_paths.testing_tree .. " --deps-mode=order")) | 86 | assert.is_true(run.luarocks_bool("make --tree=" .. testing_paths.testing_tree .. " --deps-mode=order")) |
87 | 87 | ||
88 | lfs.chdir(testing_paths.luarocks_dir) | 88 | lfs.chdir(testing_paths.testrun_dir) |
89 | test_env.remove_dir("lxsh-0.8.6-2") | 89 | test_env.remove_dir("lxsh-0.8.6-2") |
90 | assert.is_true(os.remove("lxsh-0.8.6-2.src.rock")) | 90 | assert.is_true(os.remove("lxsh-0.8.6-2.src.rock")) |
91 | 91 | ||
@@ -102,7 +102,7 @@ describe("LuaRocks deps tests #blackbox #b_deps", function() | |||
102 | lfs.chdir("lxsh-0.8.6-2/lxsh-0.8.6-1/") | 102 | lfs.chdir("lxsh-0.8.6-2/lxsh-0.8.6-1/") |
103 | assert.is_true(run.luarocks_bool("make --tree=" .. testing_paths.testing_sys_tree .. " --deps-mode=order")) | 103 | assert.is_true(run.luarocks_bool("make --tree=" .. testing_paths.testing_sys_tree .. " --deps-mode=order")) |
104 | 104 | ||
105 | lfs.chdir(testing_paths.luarocks_dir) | 105 | lfs.chdir(testing_paths.testrun_dir) |
106 | test_env.remove_dir("lxsh-0.8.6-2") | 106 | test_env.remove_dir("lxsh-0.8.6-2") |
107 | assert.is_true(os.remove("lxsh-0.8.6-2.src.rock")) | 107 | assert.is_true(os.remove("lxsh-0.8.6-2.src.rock")) |
108 | 108 | ||