From ee233f0d746d6c714c298f602cc3326ba9cb455d Mon Sep 17 00:00:00 2001 From: bhattigurjot Date: Sat, 19 Mar 2016 18:13:16 +0530 Subject: Add split_server_url test for handling local cache --- test/testing.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/testing.sh b/test/testing.sh index 4be71fa6..a41f4d06 100755 --- a/test/testing.sh +++ b/test/testing.sh @@ -478,6 +478,7 @@ fail_admin_invalidrock() { $luarocks_admin --server=testing add invalid; } test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } +fail_admin_split_server_url() { $luarocks_admin --server="localhost@/tmp/luarocks_testing" add "$testing_server/luasocket-${verrev_luasocket}.src.rock"; } fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } 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 ]; } -- cgit v1.2.3-55-g6feb