aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbhattigurjot <bhattigurjot@gmail.com>2016-03-21 01:05:59 +0530
committerbhattigurjot <bhattigurjot@gmail.com>2016-03-21 01:05:59 +0530
commitc6c83a69e39db4036c60bd2f260fd37deefa0ff0 (patch)
tree51fcf497a068a3100f12b5a7df45f4b115152a83 /test
parentdbf0183f96093ca155e769b1de34d5226871ee7b (diff)
downloadluarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.tar.gz
luarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.tar.bz2
luarocks-c6c83a69e39db4036c60bd2f260fd37deefa0ff0.zip
Add few more tests for command_line
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh6
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
378test_build_verbose() { $luarocks build --verbose lpeg; } 378test_build_verbose() { $luarocks build --verbose lpeg; }
379test_build_timeout() { $luarocks --timeout=10; } 379test_build_timeout() { $luarocks --timeout=10; }
380fail_build_timeout() { $luarocks --timeout=abc; } 380fail_build_timeout_invalid() { $luarocks --timeout=abc; }
381test_build_branch() { $luarocks build --branch=master lpeg; }
382fail_build_invalid_entry_deps_mode() { $luarocks build --deps-mode=123 lpeg; }
383test_build_only_server() { $luarocks --only-server=testing; }
384test_build_only_sources() { $luarocks build --only-sources="http://example.com" lpeg; }
381fail_build_blank_arg() { $luarocks build --tree="" lpeg; } 385fail_build_blank_arg() { $luarocks build --tree="" lpeg; }
382test_build_withpatch() { need_luasocket; $luarocks build luadoc; } 386test_build_withpatch() { need_luasocket; $luarocks build luadoc; }
383test_build_diffversion() { $luarocks build luacov ${version_luacov}; } 387test_build_diffversion() { $luarocks build luacov ${version_luacov}; }