diff options
author | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-19 19:23:15 +0530 |
---|---|---|
committer | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-19 19:23:15 +0530 |
commit | ef5636197afb2858f5a2b8738936367b826395b2 (patch) | |
tree | 5eeaeae7012ea127b4cc216b39c44817bf4efd38 /test | |
parent | ee233f0d746d6c714c298f602cc3326ba9cb455d (diff) | |
download | luarocks-ef5636197afb2858f5a2b8738936367b826395b2.tar.gz luarocks-ef5636197afb2858f5a2b8738936367b826395b2.tar.bz2 luarocks-ef5636197afb2858f5a2b8738936367b826395b2.zip |
Add tests for search query
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 3 |
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 | ||
451 | test_search_found() { $luarocks search zlib; } | 451 | test_search_found() { $luarocks search zlib; } |
452 | test_search_missing() { $luarocks search missing_rock; } | 452 | test_search_missing() { $luarocks search missing_rock; } |
453 | test_search_version() { $luarocks search zlib 1.1; } | ||
454 | test_search_all() { $luarocks search --all; } | ||
455 | fail_search_nostring() { $var=123; $luarocks search $var; } | ||
453 | 456 | ||
454 | test_show() { $luarocks show luacov; } | 457 | test_show() { $luarocks show luacov; } |
455 | test_show_modules() { $luarocks show --modules luacov; } | 458 | test_show_modules() { $luarocks show --modules luacov; } |