diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-08 01:31:21 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-08 01:31:21 -0300 |
commit | feedb79595885c8f86ad412ef561f05664da7c14 (patch) | |
tree | 49b94267e185c38eb5b7e89553776b7728aea624 /test/testfiles | |
parent | afcba75d2772e664b69698390c8000210b203175 (diff) | |
download | luarocks-feedb79595885c8f86ad412ef561f05664da7c14.tar.gz luarocks-feedb79595885c8f86ad412ef561f05664da7c14.tar.bz2 luarocks-feedb79595885c8f86ad412ef561f05664da7c14.zip |
Tests: use local fixture for upload test.
Do not hit the github repository for LuaSocket in upload test.
Diffstat (limited to 'test/testfiles')
-rw-r--r-- | test/testfiles/a_rock-1.0-1.rockspec | 17 | ||||
-rw-r--r-- | test/testfiles/a_rock.lua | 1 |
2 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | package = "a_rock" | ||
2 | version = "1.0-1" | ||
3 | source = { | ||
4 | url = "http://localhost:8080/file/a_rock.lua" | ||
5 | } | ||
6 | description = { | ||
7 | summary = "An example rockspec", | ||
8 | } | ||
9 | dependencies = { | ||
10 | "lua >= 5.1" | ||
11 | } | ||
12 | build = { | ||
13 | type = "builtin", | ||
14 | modules = { | ||
15 | build = "a_rock.lua" | ||
16 | }, | ||
17 | } | ||
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 {} | |||