From fa9017f87197565b970d22d2d51241fdfa55c916 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 12 Jul 2018 16:59:27 +0300 Subject: Add --manifest option to pkg-verify --- tests/pkg-verify.test | 12 ++++++++++++ tests/rep-create.test | 6 +++--- tests/rep-info.test | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/pkg-verify.test b/tests/pkg-verify.test index d40b525..d438524 100644 --- a/tests/pkg-verify.test +++ b/tests/pkg-verify.test @@ -15,6 +15,18 @@ : $* $src/foo-1.tar.gz 2>'valid package foo 1' +: manifest +: +$* --manifest $src/foo-1.tar.gz >>EOO + : 1 + name: foo + version: 1 + summary: The "Foo" utility + license: MIT + url: http://www.example.org/foo + email: foo-users@example.org + EOO + : no-package : $* 2>>EOE != 0 diff --git a/tests/rep-create.test b/tests/rep-create.test index 1fa236f..09aeb7f 100644 --- a/tests/rep-create.test +++ b/tests/rep-create.test @@ -32,7 +32,7 @@ %1 package\(s\) in .+/stable/% EOE - $rep_info -p -m 1/stable/ >>EOO + $rep_info -p --manifest 1/stable/ >>EOO : 1 name: foo version: 1 @@ -58,7 +58,7 @@ %1 package\(s\) in .+/stable/% EOE - $rep_info -p -m 1/stable/ >>EOO + $rep_info -p --manifest 1/stable/ >>EOO : 1 name: foo version: 1 @@ -100,7 +100,7 @@ %1 package\(s\) in .+/stable/% EOE - $rep_info --cert-fingerprint -p -m 1/stable/ >>~"%EOO%" + $rep_info --cert-fingerprint -p --manifest 1/stable/ >>~"%EOO%" $cert_fp : 1 name: foo diff --git a/tests/rep-info.test b/tests/rep-info.test index 46c91c5..60dd96e 100644 --- a/tests/rep-info.test +++ b/tests/rep-info.test @@ -180,7 +180,7 @@ else : branch is printed because the stable head commit is newer that of the : master branch. : - $* -r -m "$rep/style-basic.git#stable,master" >>~%EOO% + $* -r --manifest "$rep/style-basic.git#stable,master" >>~%EOO% : 1 email: user@example.com EOO -- cgit v1.1