diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-01-31 12:24:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-03 16:15:30 +0300 |
commit | fafc5727732c7df2c98b123292f483411e0050e3 (patch) | |
tree | 2d67d33a557e82a694ba9d48a90cad99fd33e49f /tests/pkg-verify.testscript | |
parent | 85b7dc75597386777ebe1f7158e798eff968a4bf (diff) |
Add support for bootstrap-build and root-build values in package manifest
Diffstat (limited to 'tests/pkg-verify.testscript')
-rw-r--r-- | tests/pkg-verify.testscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/pkg-verify.testscript b/tests/pkg-verify.testscript index 9c56466..69c29b0 100644 --- a/tests/pkg-verify.testscript +++ b/tests/pkg-verify.testscript @@ -91,6 +91,10 @@ $* --deep --ignore-unknown --manifest $src/foo-2.tar.gz >>EOO url: http://www.example.org/foo email: foo-users@example.org depends: bar == 2 + bootstrap-build:\ + project = foo + + \ EOO : incomplete-dependency @@ -107,3 +111,28 @@ $* --ignore-unknown --manifest $src/foo-2.tar.gz >>EOO email: foo-users@example.org depends: bar == $ EOO + +: no-bootstrap-build +: +{ + : no-deep + : + $* --manifest $src/foo-3.tar.gz >>EOO + : 1 + name: foo + version: 3 + summary: The "Foo" utility + license: MIT + description-file: README + changes-file: NEWS + url: http://www.example.org/foo + email: foo-users@example.org + depends: bar == $ + EOO + + : deep + : + $* --deep --manifest $src/foo-3.tar.gz 2>>/~%EOE% != 0 + %error: unable to find bootstrap.build file in package archive .+/foo-3.tar.gz% + EOE +} |