diff options
author | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-19 18:13:16 +0530 |
---|---|---|
committer | bhattigurjot <bhattigurjot@gmail.com> | 2016-03-19 18:13:16 +0530 |
commit | ee233f0d746d6c714c298f602cc3326ba9cb455d (patch) | |
tree | 6eef7c4f388903c77dcacb00d1a907846622cd32 /test | |
parent | ca60d34cf161e778bd4df7d79cda6df479df20ca (diff) | |
download | luarocks-ee233f0d746d6c714c298f602cc3326ba9cb455d.tar.gz luarocks-ee233f0d746d6c714c298f602cc3326ba9cb455d.tar.bz2 luarocks-ee233f0d746d6c714c298f602cc3326ba9cb455d.zip |
Add split_server_url test for handling local cache
Diffstat (limited to 'test')
-rwxr-xr-x | test/testing.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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; } | |||
478 | test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } | 478 | test_admin_refresh_cache() { $luarocks_admin --server=testing refresh_cache; } |
479 | test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } | 479 | test_admin_remove() { $luarocks_admin --server=testing remove luasocket-${verrev_luasocket}.src.rock; } |
480 | fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } | 480 | fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } |
481 | fail_admin_split_server_url() { $luarocks_admin --server="localhost@/tmp/luarocks_testing" add "$testing_server/luasocket-${verrev_luasocket}.src.rock"; } | ||
481 | 482 | ||
482 | fail_deps_mode_invalid_arg() { $luarocks remove luacov --deps-mode; } | 483 | 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 ]; } | 484 | 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 ]; } |