From feedb79595885c8f86ad412ef561f05664da7c14 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 8 Oct 2017 01:31:21 -0300 Subject: Tests: use local fixture for upload test. Do not hit the github repository for LuaSocket in upload test. --- test/testfiles/a_rock-1.0-1.rockspec | 17 +++++++++++++++++ test/testfiles/a_rock.lua | 1 + 2 files changed, 18 insertions(+) create mode 100644 test/testfiles/a_rock-1.0-1.rockspec create mode 100644 test/testfiles/a_rock.lua (limited to 'test/testfiles') diff --git a/test/testfiles/a_rock-1.0-1.rockspec b/test/testfiles/a_rock-1.0-1.rockspec new file mode 100644 index 00000000..9f15e87a --- /dev/null +++ b/test/testfiles/a_rock-1.0-1.rockspec @@ -0,0 +1,17 @@ +package = "a_rock" +version = "1.0-1" +source = { + url = "http://localhost:8080/file/a_rock.lua" +} +description = { + summary = "An example rockspec", +} +dependencies = { + "lua >= 5.1" +} +build = { + type = "builtin", + modules = { + build = "a_rock.lua" + }, +} diff --git a/test/testfiles/a_rock.lua b/test/testfiles/a_rock.lua new file mode 100644 index 00000000..a5647075 --- /dev/null +++ b/test/testfiles/a_rock.lua @@ -0,0 +1 @@ +return {} -- cgit v1.2.3-55-g6feb