diff options
author | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-21 01:05:59 +0530 |
---|---|---|
committer | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-21 01:05:59 +0530 |
commit | c6c83a69e39db4036c60bd2f260fd37deefa0ff0 (patch) | |
tree | 51fcf497a068a3100f12b5a7df45f4b115152a83 /test | |
parent | dbf0183f96093ca155e769b1de34d5226871ee7b (diff) | |
download | luarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.tar.gz luarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.tar.bz2 luarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.zip |
Add few more tests for command_line
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/testing.sh b/test/testing.sh index 901b5f4b..5965ac8f 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
@@ -377,7 +377,11 @@ fail_build_permissions_parent() { $luarocks build --tree=/usr/invalid lpeg; } | |||
377 | 377 | ||
378 | test_build_verbose() { $luarocks build --verbose lpeg; } | 378 | test_build_verbose() { $luarocks build --verbose lpeg; } |
379 | test_build_timeout() { $luarocks --timeout=10; } | 379 | test_build_timeout() { $luarocks --timeout=10; } |
380 | fail_build_timeout() { $luarocks --timeout=abc; } | 380 | fail_build_timeout_invalid() { $luarocks --timeout=abc; } |
381 | test_build_branch() { $luarocks build --branch=master lpeg; } | ||
382 | fail_build_invalid_entry_deps_mode() { $luarocks build --deps-mode=123 lpeg; } | ||
383 | test_build_only_server() { $luarocks --only-server=testing; } | ||
384 | test_build_only_sources() { $luarocks build --only-sources="http://example.com" lpeg; } | ||
381 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } | 385 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } |
382 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } | 386 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } |
383 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } | 387 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } |