aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJonathan Goble <jcgoble3@gmail.com>2016-01-22 03:17:34 -0500
committerJonathan Goble <jcgoble3@gmail.com>2016-01-22 03:25:06 -0500
commit6f52c02e33e37078d595eb03b29332e6aaf0dce9 (patch)
tree0e13faca91895e0f7d0d8135674ecb1ed700d978 /test
parentd725a42e2efd2df34dc21cc1a8bb087241064268 (diff)
downloadluarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.tar.gz
luarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.tar.bz2
luarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.zip
Update repo URLs to luarocks.org instead of rocks.moonscript.org
Previously, this used an old URL and downloaded over HTTP, in cleartext. This commit updates to the URL that the old one redirects to, and changes to HTTPS encryption for security. HTTPS is currently impossible on rocks.moonscript.org because the security certificate for that domain expired in May 2015.
Diffstat (limited to 'test')
-rw-r--r--test/testing.bat2
-rwxr-xr-xtest/testing.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/testing.bat b/test/testing.bat
index 319e12c3..7083678b 100644
--- a/test/testing.bat
+++ b/test/testing.bat
@@ -1,7 +1,7 @@
1@echo off 1@echo off
2Setlocal EnableDelayedExpansion EnableExtensions 2Setlocal EnableDelayedExpansion EnableExtensions
3 3
4if not defined LUAROCKS_REPO set LUAROCKS_REPO=http://rocks.moonscript.org 4if not defined LUAROCKS_REPO set LUAROCKS_REPO=https://luarocks.org
5 5
6appveyor DownloadFile %LUAROCKS_REPO%/stdlib-41.0.0-1.src.rock 6appveyor DownloadFile %LUAROCKS_REPO%/stdlib-41.0.0-1.src.rock
7luarocks build stdlib 7luarocks build stdlib
diff --git a/test/testing.sh b/test/testing.sh
index dc7912bf..44e78205 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -225,7 +225,7 @@ luarocks_admin_nocov="run_lua --nocov luarocks-admin"
225mkdir -p "$testing_server" 225mkdir -p "$testing_server"
226( 226(
227 cd "$testing_server" 227 cd "$testing_server"
228 luarocks_repo="http://rocks.moonscript.org" 228 luarocks_repo="https://luarocks.org"
229 get() { [ -e `basename "$1"` ] || wget -c "$1"; } 229 get() { [ -e `basename "$1"` ] || wget -c "$1"; }
230 get "$luarocks_repo/luacov-${verrev_luacov}.src.rock" 230 get "$luarocks_repo/luacov-${verrev_luacov}.src.rock"
231 get "$luarocks_repo/luacov-${verrev_luacov}.rockspec" 231 get "$luarocks_repo/luacov-${verrev_luacov}.rockspec"