diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh index 4be71fa6..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; } |
@@ -478,6 +481,7 @@ fail_admin_invalidrock() { $luarocks_admin --server=testing add invalid; } | |||
478 | test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } | 481 | test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } |
479 | test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } | 482 | test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } |
480 | fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } | 483 | fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } |
484 | fail_admin_split_server_url() { $luarocks_admin --server="localhost@/tmp/luarocks_testing" add "$testing_server/luasocket-${verrev_luasocket}.src.rock"; } | ||
481 | 485 | ||
482 | fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } | 486 | fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } |
483 | test_deps_mode_one() { $luarocks build --tree="system" lpeg && $luarocks list && $luarocks build --deps-mode=one --tree="$testing_tree" lxsh && [ `$luarocks_noecho list --tree="$testing_tree" --porcelain lpeg | wc -l` = 1 ]; } | 487 | test_deps_mode_one() { $luarocks build --tree="system" lpeg && $luarocks list && $luarocks build --deps-mode=one --tree="$testing_tree" lxsh && [ `$luarocks_noecho list --tree="$testing_tree" --porcelain lpeg | wc -l` = 1 ]; } |