diff options
author | Hisham <hisham@gobolinux.org> | 2016-09-08 14:04:40 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-09-08 14:04:40 -0300 |
commit | f91fc9a6ef9ef488c709894a29ce63db2bc1e399 (patch) | |
tree | 3b9dbbe28ad79f2d1115b2048f3cbf9738303373 /spec/pack_spec.lua | |
parent | c6d48427430b6b96f88b249dee1533fb5e6ff681 (diff) | |
download | luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.tar.gz luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.tar.bz2 luarocks-f91fc9a6ef9ef488c709894a29ce63db2bc1e399.zip |
Tests: luarocks_bool commands log their outputs on failure.
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r-- | spec/pack_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua index 3191e80c..3c9ed9fd 100644 --- a/spec/pack_spec.lua +++ b/spec/pack_spec.lua | |||
@@ -25,7 +25,7 @@ describe("LuaRocks pack tests #blackbox #b_pack", function() | |||
25 | end) | 25 | end) |
26 | 26 | ||
27 | it("LuaRocks pack basic", function() | 27 | it("LuaRocks pack basic", function() |
28 | assert.is_true(run.luarocks_bool(test_env.quiet("pack luacov"))) | 28 | assert.is_true(run.luarocks_bool("pack luacov")) |
29 | assert.is_true(test_env.remove_files(lfs.currentdir(), "luacov-")) | 29 | assert.is_true(test_env.remove_files(lfs.currentdir(), "luacov-")) |
30 | end) | 30 | end) |
31 | 31 | ||
@@ -49,7 +49,7 @@ describe("LuaRocks pack tests #blackbox #b_pack", function() | |||
49 | end) | 49 | end) |
50 | 50 | ||
51 | it("LuaRocks pack src", function() | 51 | it("LuaRocks pack src", function() |
52 | assert.is_true(run.luarocks_bool(test_env.quiet("install luasec " .. test_env.OPENSSL_DIRS))) | 52 | assert.is_true(run.luarocks_bool("install luasec " .. test_env.OPENSSL_DIRS)) |
53 | assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2")) | 53 | assert.is_true(run.luarocks_bool("download --rockspec luasocket 3.0rc1-2")) |
54 | assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec")) | 54 | assert.is_true(run.luarocks_bool("pack luasocket-3.0rc1-2.rockspec")) |
55 | assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket-")) | 55 | assert.is_true(test_env.remove_files(lfs.currentdir(), "luasocket-")) |