aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbhattigurjot <bhattigurjot@gmail.com>2016-03-21 00:17:20 +0530
committerbhattigurjot <bhattigurjot@gmail.com>2016-03-21 00:17:20 +0530
commitdbf0183f96093ca155e769b1de34d5226871ee7b (patch)
tree044e97417d18d6391db16787598fb498eb77aca0 /test
parent88e16001e37eab28f5d6f4c242f65b8a4c2a1e33 (diff)
downloadluarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.tar.gz
luarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.tar.bz2
luarocks-dbf0183f96093ca155e769b1de34d5226871ee7b.zip
Add tests for command_line
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh2
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; }
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() { $luarocks --timeout=abc; }
379fail_build_blank_arg() { $luarocks build --tree="" lpeg; } 381fail_build_blank_arg() { $luarocks build --tree="" lpeg; }
380test_build_withpatch() { need_luasocket; $luarocks build luadoc; } 382test_build_withpatch() { need_luasocket; $luarocks build luadoc; }
381test_build_diffversion() { $luarocks build luacov ${version_luacov}; } 383test_build_diffversion() { $luarocks build luacov ${version_luacov}; }