aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-03-21 02:24:24 -0300
committerHisham Muhammad <hisham@gobolinux.org>2016-03-21 02:24:24 -0300
commitd715fe5545bd639b2f4c97dc22a7a33b060b48d0 (patch)
tree51fcf497a068a3100f12b5a7df45f4b115152a83 /test
parent88e16001e37eab28f5d6f4c242f65b8a4c2a1e33 (diff)
parentc6c83a69e39db4036c60bd2f260fd37deefa0ff0 (diff)
downloadluarocks-d715fe5545bd639b2f4c97dc22a7a33b060b48d0.tar.gz
luarocks-d715fe5545bd639b2f4c97dc22a7a33b060b48d0.tar.bz2
luarocks-d715fe5545bd639b2f4c97dc22a7a33b060b48d0.zip
Merge pull request #525 from bhattigurjot/master
Add tests for command_line
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index 597b4094..5965ac8f 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -376,6 +376,12 @@ fail_build_permissions() { $luarocks build --tree=/usr lpeg; }
376fail_build_permissions_parent() { $luarocks build --tree=/usr/invalid lpeg; } 376fail_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; }
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; }
379fail_build_blank_arg() { $luarocks build --tree="" lpeg; } 385fail_build_blank_arg() { $luarocks build --tree="" lpeg; }
380test_build_withpatch() { need_luasocket; $luarocks build luadoc; } 386test_build_withpatch() { need_luasocket; $luarocks build luadoc; }
381test_build_diffversion() { $luarocks build luacov ${version_luacov}; } 387test_build_diffversion() { $luarocks build luacov ${version_luacov}; }