aboutsummaryrefslogtreecommitdiff
path: root/test/testing.sh
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/testing.sh
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/testing.sh')
-rwxr-xr-xtest/testing.sh2
1 files changed, 1 insertions, 1 deletions
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"