aboutsummaryrefslogtreecommitdiff
path: root/spec/install_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install_spec.lua')
-rw-r--r--spec/install_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua
index 1154e9b9..c3aa0064 100644
--- a/spec/install_spec.lua
+++ b/spec/install_spec.lua
@@ -10,8 +10,8 @@ local V = test_env.V
10test_env.unload_luarocks() 10test_env.unload_luarocks()
11 11
12local extra_rocks = { 12local extra_rocks = {
13 "/cprint-0.1-2.src.rock", 13 "/cprint-${CPRINT}.src.rock",
14 "/cprint-0.1-2.rockspec", 14 "/cprint-${CPRINT}.rockspec",
15 "/lpeg-${LPEG}.src.rock", 15 "/lpeg-${LPEG}.src.rock",
16 "/luassert-1.7.0-1.src.rock", 16 "/luassert-1.7.0-1.src.rock",
17 "/luasocket-${LUASOCKET}.src.rock", 17 "/luasocket-${LUASOCKET}.src.rock",
@@ -248,8 +248,8 @@ describe("luarocks install #integration", function()
248 248
249 it("binary rock of cprint", function() 249 it("binary rock of cprint", function()
250 assert.is_true(run.luarocks_bool("build --pack-binary-rock cprint")) 250 assert.is_true(run.luarocks_bool("build --pack-binary-rock cprint"))
251 assert.is_true(run.luarocks_bool("install cprint-0.1-2." .. test_env.platform .. ".rock")) 251 assert.is_true(run.luarocks_bool("install cprint-${CPRINT}." .. test_env.platform .. ".rock"))
252 assert.is_true(os.remove("cprint-0.1-2." .. test_env.platform .. ".rock")) 252 assert.is_true(os.remove("cprint-${CPRINT}." .. test_env.platform .. ".rock"))
253 end) 253 end)
254 254
255 it("accepts --no-manifest flag", function() 255 it("accepts --no-manifest flag", function()