diff options
| author | mpeterv <mpeterval@gmail.com> | 2016-04-16 11:39:18 +0300 |
|---|---|---|
| committer | mpeterv <mpeterval@gmail.com> | 2016-04-16 11:39:18 +0300 |
| commit | 53788ea4054cc619d610bf19d948e1a16325b89c (patch) | |
| tree | 6ed0c12f4110075ee8bbc202e5c82b60892b5b09 /test/testing.lua | |
| parent | 3856404d5f38addd2d20d930bc0a64d1ecc2a5d5 (diff) | |
| parent | 3576869364203e2325a03960dd2c0d618355cb63 (diff) | |
| download | luarocks-53788ea4054cc619d610bf19d948e1a16325b89c.tar.gz luarocks-53788ea4054cc619d610bf19d948e1a16325b89c.tar.bz2 luarocks-53788ea4054cc619d610bf19d948e1a16325b89c.zip | |
Merge branch 'master' into luarocks-3
Conflicts:
src/luarocks/deps.lua
Diffstat (limited to 'test/testing.lua')
| -rw-r--r-- | test/testing.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testing.lua b/test/testing.lua index 63dead2b..6d4b4b05 100644 --- a/test/testing.lua +++ b/test/testing.lua | |||
| @@ -86,6 +86,7 @@ local tests = { | |||
| 86 | fail_arg_string_followed_by_flag = function() return run "$luarocks --server --porcelain" end, | 86 | fail_arg_string_followed_by_flag = function() return run "$luarocks --server --porcelain" end, |
| 87 | fail_arg_string_unknown = function() return run "$luarocks --invalid-flag=abc" end, | 87 | fail_arg_string_unknown = function() return run "$luarocks --invalid-flag=abc" end, |
| 88 | test_empty_list = function() return run "$luarocks list" end, | 88 | test_empty_list = function() return run "$luarocks list" end, |
| 89 | test_list_outdated = function () return run "$luarocks list --outdated" end, | ||
| 89 | fail_sysconfig_err = function() | 90 | fail_sysconfig_err = function() |
| 90 | mkdir "$testing_lrprefix/etc/luarocks" | 91 | mkdir "$testing_lrprefix/etc/luarocks" |
| 91 | file_set_contents("$testing_lrprefix/etc/luarocks/config.lua", "aoeui") | 92 | file_set_contents("$testing_lrprefix/etc/luarocks/config.lua", "aoeui") |
| @@ -441,6 +442,11 @@ local tests = { | |||
| 441 | return run "$luarocks install luarepl" | 442 | return run "$luarocks install luarepl" |
| 442 | and run "$luarocks doc luarepl" | 443 | and run "$luarocks doc luarepl" |
| 443 | end, | 444 | end, |
| 445 | test_doc_home = function() | ||
| 446 | return run "$luarocks install luacov" | ||
| 447 | and run "$luarocks doc luacov --home" | ||
| 448 | end, | ||
| 449 | fail_doc_invalid = function () return run "$luarocks doc invalid" end, | ||
| 444 | 450 | ||
| 445 | -- Tests for https://github.com/keplerproject/luarocks/issues/375 | 451 | -- Tests for https://github.com/keplerproject/luarocks/issues/375 |
| 446 | test_fetch_base_dir = function() | 452 | test_fetch_base_dir = function() |
