From fbd857e1a0b2aae5beb3875427612e41bf67b35e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 19 Mar 2021 17:13:34 -0300 Subject: pack: check that directory inside archive actually exists --- spec/fixtures/bad_pack-0.1-1.rockspec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/fixtures/bad_pack-0.1-1.rockspec (limited to 'spec/fixtures') 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 @@ +rockspec_format = "3.0" +package = "bad_pack" +version = "0.1-1" +source = { + url = "http://localhost:8080/file/busted_project-0.1.tar.gz", + dir = "invalid_dir", +} +description = { + summary = "A project that uses Busted tests", +} +build = { + type = "builtin", + modules = { + sum = "sum.lua", + } +} +test = { + type = "busted", +} -- cgit v1.2.3-55-g6feb