diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2016-03-21 02:24:24 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2016-03-21 02:24:24 -0300 |
| commit | d715fe5545bd639b2f4c97dc22a7a33b060b48d0 (patch) | |
| tree | 51fcf497a068a3100f12b5a7df45f4b115152a83 /test | |
| parent | 88e16001e37eab28f5d6f4c242f65b8a4c2a1e33 (diff) | |
| parent | c6c83a69e39db4036c60bd2f260fd37deefa0ff0 (diff) | |
| download | luarocks-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-x | test/testing.sh | 6 |
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; } | |||
| 376 | fail_build_permissions_parent() { $luarocks build --tree=/usr/invalid lpeg; } | 376 | 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; } | ||
| 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; } | ||
| 379 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } | 385 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } |
| 380 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } | 386 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } |
| 381 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } | 387 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } |
