diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2021-03-19 17:13:34 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2021-03-22 10:33:10 -0300 |
commit | fbd857e1a0b2aae5beb3875427612e41bf67b35e (patch) | |
tree | 977d5af9712330345cf1633660a95b9adc3caf0d /spec/fixtures | |
parent | 058643a9342c68ce38b5dd55a02564a001f807e2 (diff) | |
download | luarocks-fbd857e1a0b2aae5beb3875427612e41bf67b35e.tar.gz luarocks-fbd857e1a0b2aae5beb3875427612e41bf67b35e.tar.bz2 luarocks-fbd857e1a0b2aae5beb3875427612e41bf67b35e.zip |
pack: check that directory inside archive actually exists
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/bad_pack-0.1-1.rockspec | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/fixtures/bad_pack-0.1-1.rockspec b/spec/fixtures/bad_pack-0.1-1.rockspec new file mode 100644 index 00000000..23934244 --- /dev/null +++ b/spec/fixtures/bad_pack-0.1-1.rockspec | |||
@@ -0,0 +1,19 @@ | |||
1 | rockspec_format = "3.0" | ||
2 | package = "bad_pack" | ||
3 | version = "0.1-1" | ||
4 | source = { | ||
5 | url = "http://localhost:8080/file/busted_project-0.1.tar.gz", | ||
6 | dir = "invalid_dir", | ||
7 | } | ||
8 | description = { | ||
9 | summary = "A project that uses Busted tests", | ||
10 | } | ||
11 | build = { | ||
12 | type = "builtin", | ||
13 | modules = { | ||
14 | sum = "sum.lua", | ||
15 | } | ||
16 | } | ||
17 | test = { | ||
18 | type = "busted", | ||
19 | } | ||