From d0a6f0b0122ce8d29f9cdaae6e744cafaeb5f43a Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 9 Dec 2013 18:08:34 -0200 Subject: Going crazy! --- test/testing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/testing.sh b/test/testing.sh index c0b5372b..bce65294 100755 --- a/test/testing.sh +++ b/test/testing.sh @@ -269,7 +269,7 @@ test_admin_add_rsync() { if [ "$travis" ]; then return; fi; $luarocks_admin --se test_admin_add_sftp() { if [ "$travis" ]; then return; fi; export LUAROCKS_CONFIG="$testing_dir/testing_config_sftp.lua" && $luarocks_admin --server=testing add ./luasocket-${verrev_luasocket}.src.rock; export LUAROCKS_CONFIG="$testing_dir/testing_config.lua"; } fail_admin_add_missing() { $luarocks_admin --server=testing add; } fail_admin_invalidserver() { $luarocks_admin --server=invalid add ./luasocket-${verrev_luasocket}.src.rock; } -fail_admin_invalidrock() { if [ "$travis" ]; then return; fi; $luarocks_admin --server=testing add invalid; } +fail_admin_invalidrock() { if [ "$travis" ]; then return 1; fi; $luarocks_admin --server=testing add invalid; } test_admin_refresh_cache() { if [ "$travis" ]; then return; fi; $luarocks_admin --server=testing refresh_cache; } test_admin_remove() { if [ "$travis" ]; then return; fi; $luarocks_admin --server=testing remove ./luasocket-${verrev_luasocket}.src.rock; } fail_admin_remove_missing() { $luarocks_admin --server=testing remove; } -- cgit v1.2.3-55-g6feb