aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbhattigurjot <bhattigurjot@gmail.com>2016-03-19 19:23:15 +0530
committerbhattigurjot <bhattigurjot@gmail.com>2016-03-19 19:23:15 +0530
commitef5636197afb2858f5a2b8738936367b826395b2 (patch)
tree5eeaeae7012ea127b4cc216b39c44817bf4efd38 /test
parentee233f0d746d6c714c298f602cc3326ba9cb455d (diff)
downloadluarocks-ef5636197afb2858f5a2b8738936367b826395b2.tar.gz
luarocks-ef5636197afb2858f5a2b8738936367b826395b2.tar.bz2
luarocks-ef5636197afb2858f5a2b8738936367b826395b2.zip
Add tests for search query
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index a41f4d06..f29a9cc6 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -450,6 +450,9 @@ fail_remove_invalid_name() { $luarocks remove invalid.rock; }
450 450
451test_search_found() { $luarocks search zlib; } 451test_search_found() { $luarocks search zlib; }
452test_search_missing() { $luarocks search missing_rock; } 452test_search_missing() { $luarocks search missing_rock; }
453test_search_version() { $luarocks search zlib 1.1; }
454test_search_all() { $luarocks search --all; }
455fail_search_nostring() { $var=123; $luarocks search $var; }
453 456
454test_show() { $luarocks show luacov; } 457test_show() { $luarocks show luacov; }
455test_show_modules() { $luarocks show --modules luacov; } 458test_show_modules() { $luarocks show --modules luacov; }