diff options
author | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-21 00:17:20 +0530 |
---|---|---|
committer | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-21 00:17:20 +0530 |
commit | dbf0183f96093ca155e769b1de34d5226871ee7b (patch) | |
tree | 044e97417d18d6391db16787598fb498eb77aca0 /test | |
parent | 88e16001e37eab28f5d6f4c242f65b8a4c2a1e33 (diff) | |
download | luarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.tar.gz luarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.tar.bz2 luarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.zip |
Add tests for command_line
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh index 597b4094..901b5f4b 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
@@ -376,6 +376,8 @@ 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() { $luarocks --timeout=abc; } | ||
379 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } | 381 | fail_build_blank_arg() { $luarocks build --tree="" lpeg; } |
380 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } | 382 | test_build_withpatch() { need_luasocket; $luarocks build luadoc; } |
381 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } | 383 | test_build_diffversion() { $luarocks build luacov ${version_luacov}; } |