From db81c2e25650eba20be97a93c26d43032bc20998 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 26 Mar 2015 03:18:41 -0300 Subject: Force package to be in cache. --- test/testing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testing.sh') diff --git a/test/testing.sh b/test/testing.sh index 8e3a72b3..8ace034d 100755 --- a/test/testing.sh +++ b/test/testing.sh @@ -393,7 +393,7 @@ test_help() { $luarocks help; } fail_help_invalid() { $luarocks help invalid; } test_install_binaryrock() { $luarocks build --pack-binary-rock cprint && $luarocks install ./cprint-${verrev_cprint}.${platform}.rock && rm ./cprint-${verrev_cprint}.${platform}.rock; } -test_install_only_server() { $luarocks install --only-server "$testing_cache" luasocket; } +test_install_only_server() { need_luasocket; $luarocks install --only-server "$testing_cache" luasocket; } test_install_with_bin() { $luarocks install wsapi; } fail_install_notazipfile() { $luarocks install "$testing_dir/testfiles/not_a_zipfile-1.0-1.src.rock"; } fail_install_invalidpatch() { need_luasocket; $luarocks install "$testing_dir/testfiles/invalid_patch-0.1-1.rockspec"; } -- cgit v1.2.3-55-g6feb