aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-verify.testscript24
-rw-r--r--tests/pkg-verify/foo-2.tar.gzbin277 -> 413 bytes
2 files changed, 23 insertions, 1 deletions
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
diff --git a/tests/pkg-verify/foo-2.tar.gz b/tests/pkg-verify/foo-2.tar.gz
index cb39194..eb72635 100644
--- a/tests/pkg-verify/foo-2.tar.gz
+++ b/tests/pkg-verify/foo-2.tar.gz
Binary files differ