diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 14:52:15 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 23:04:20 -0300 |
commit | 8de1500a25d1e43cd6ed26b4d93f956651b53b6a (patch) | |
tree | cb81173c4b06b28efbb035df110beb123a4b98eb /spec/fixtures | |
parent | 2fac17d4d211adf9c1fe9668094febb55ee92389 (diff) | |
download | luarocks-8de1500a25d1e43cd6ed26b4d93f956651b53b6a.tar.gz luarocks-8de1500a25d1e43cd6ed26b4d93f956651b53b6a.tar.bz2 luarocks-8de1500a25d1e43cd6ed26b4d93f956651b53b6a.zip |
tests: don't download sailor
Use a small fixture instead to test the regression for sailorproject/sailor#138
Sailor was the largest rock downloaded by the test suite, so
this should improve download times.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/a_repo/non_lua_file-1.0-1.rockspec | 22 | ||||
-rw-r--r-- | spec/fixtures/a_repo/non_lua_file-1.0-1.src.rock | bin | 0 -> 852 bytes | |||
-rw-r--r-- | spec/fixtures/a_repo/non_lua_file-1.0-2.rockspec | 22 | ||||
-rw-r--r-- | spec/fixtures/a_repo/non_lua_file-1.0-2.src.rock | bin | 0 -> 852 bytes |
4 files changed, 44 insertions, 0 deletions
diff --git a/spec/fixtures/a_repo/non_lua_file-1.0-1.rockspec b/spec/fixtures/a_repo/non_lua_file-1.0-1.rockspec new file mode 100644 index 00000000..51ef42eb --- /dev/null +++ b/spec/fixtures/a_repo/non_lua_file-1.0-1.rockspec | |||
@@ -0,0 +1,22 @@ | |||
1 | -- regression test for sailorproject/sailor#138 | ||
2 | rockspec_format = "3.0" | ||
3 | package = "non_lua_file" | ||
4 | version = "1.0-1" | ||
5 | source = { | ||
6 | url = "file://../upstream/non_lua_file-1.0.tar.gz" | ||
7 | } | ||
8 | description = { | ||
9 | summary = "An example rockspec that has a script.", | ||
10 | } | ||
11 | dependencies = { | ||
12 | "lua >= 5.1", | ||
13 | } | ||
14 | build = { | ||
15 | type = "builtin", | ||
16 | modules = {}, | ||
17 | install = { | ||
18 | lua = { | ||
19 | ["sailor.blank-app.htaccess"] = "src/sailor/blank-app/.htaccess", | ||
20 | } | ||
21 | } | ||
22 | } | ||
diff --git a/spec/fixtures/a_repo/non_lua_file-1.0-1.src.rock b/spec/fixtures/a_repo/non_lua_file-1.0-1.src.rock new file mode 100644 index 00000000..148f7038 --- /dev/null +++ b/spec/fixtures/a_repo/non_lua_file-1.0-1.src.rock | |||
Binary files differ | |||
diff --git a/spec/fixtures/a_repo/non_lua_file-1.0-2.rockspec b/spec/fixtures/a_repo/non_lua_file-1.0-2.rockspec new file mode 100644 index 00000000..f9d2e2c6 --- /dev/null +++ b/spec/fixtures/a_repo/non_lua_file-1.0-2.rockspec | |||
@@ -0,0 +1,22 @@ | |||
1 | -- regression test for sailorproject/sailor#138 | ||
2 | rockspec_format = "3.0" | ||
3 | package = "non_lua_file" | ||
4 | version = "1.0-2" | ||
5 | source = { | ||
6 | url = "file://../upstream/non_lua_file-1.0.tar.gz" | ||
7 | } | ||
8 | description = { | ||
9 | summary = "An example rockspec that has a script.", | ||
10 | } | ||
11 | dependencies = { | ||
12 | "lua >= 5.1", | ||
13 | } | ||
14 | build = { | ||
15 | type = "builtin", | ||
16 | modules = {}, | ||
17 | install = { | ||
18 | lua = { | ||
19 | ["sailor.blank-app.htaccess"] = "src/sailor/blank-app/.htaccess", | ||
20 | } | ||
21 | } | ||
22 | } | ||
diff --git a/spec/fixtures/a_repo/non_lua_file-1.0-2.src.rock b/spec/fixtures/a_repo/non_lua_file-1.0-2.src.rock new file mode 100644 index 00000000..06eb9ac0 --- /dev/null +++ b/spec/fixtures/a_repo/non_lua_file-1.0-2.src.rock | |||
Binary files differ | |||