aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh4
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
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; }
@@ -478,6 +481,7 @@ fail_admin_invalidrock() { $luarocks_admin --server=testing add invalid; }
478test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } 481test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; }
479test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } 482test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; }
480fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } 483fail_admin_remove_missing() { $luarocks_admin --server=testing remove; }
484fail_admin_split_server_url() { $luarocks_admin --server="localhost@/tmp/luarocks_testing" add "$testing_server/luasocket-${verrev_luasocket}.src.rock"; }
481 485
482fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } 486fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; }
483test_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 ]; } 487test_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 ]; }