From 0e31447976e338956f4aef98930f2f28261d9983 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 12 Nov 2018 14:38:43 +0300 Subject: Add pkg-verify --deep option --- tests/pkg-verify.testscript | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'tests/pkg-verify.testscript') diff --git a/tests/pkg-verify.testscript b/tests/pkg-verify.testscript index 559b612..6f12c51 100644 --- a/tests/pkg-verify.testscript +++ b/tests/pkg-verify.testscript @@ -57,7 +57,7 @@ EOE : verbose : $* $src/foo-2.tar.gz 2>>/~%EOE% != 0 - foo-2/manifest:8:1: error: unknown name 'color' in package manifest + foo-2/manifest:10:1: error: unknown name 'color' in package manifest % info: package archive .+/foo-2.tar.gz% EOE @@ -69,3 +69,25 @@ EOE : $* --ignore-unknown $src/foo-2.tar.gz 2>'valid package foo 2' } + +: manifest-expand +: +$* --deep --ignore-unknown --manifest $src/foo-2.tar.gz >>EOO + : 1 + name: foo + version: 2 + summary: The "Foo" utility + license: MIT + description: \ + This package contains the foo utility. + + \ + changes: \ + Version 2 + + * First public release. + + \ + url: http://www.example.org/foo + email: foo-users@example.org + EOO -- cgit v1.1