aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-12 16:59:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-12 19:55:03 +0300
commitfa9017f87197565b970d22d2d51241fdfa55c916 (patch)
tree14e0e4e14465a1b81614400077112a35de92ef65 /tests
parent6fc547881a3cce4c9a96d371a2b168d68159eb5d (diff)
Add --manifest option to pkg-verify
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-verify.test12
-rw-r--r--tests/rep-create.test6
-rw-r--r--tests/rep-info.test2
3 files changed, 16 insertions, 4 deletions
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