aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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