aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/testing.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index cede94c2..597b4094 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -451,6 +451,9 @@ fail_remove_invalid_name() { $luarocks remove invalid.rock; }
451 451
452test_search_found() { $luarocks search zlib; } 452test_search_found() { $luarocks search zlib; }
453test_search_missing() { $luarocks search missing_rock; } 453test_search_missing() { $luarocks search missing_rock; }
454test_search_version() { $luarocks search zlib 1.1; }
455test_search_all() { $luarocks search --all; }
456fail_search_nostring() { $var=123; $luarocks search $var; }
454 457
455test_show() { $luarocks show luacov; } 458test_show() { $luarocks show luacov; }
456test_show_modules() { $luarocks show --modules luacov; } 459test_show_modules() { $luarocks show --modules luacov; }
@@ -479,6 +482,7 @@ fail_admin_invalidrock() { $luarocks_admin --server=testing add invalid; }
479test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } 482test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; }
480test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } 483test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; }
481fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } 484fail_admin_remove_missing() { $luarocks_admin --server=testing remove; }
485fail_admin_split_server_url() { $luarocks_admin --server="localhost@/tmp/luarocks_testing" add "$testing_server/luasocket-${verrev_luasocket}.src.rock"; }
482 486
483fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } 487fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; }
484test_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 ]; } 488test_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 ]; }