aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-12 14:38:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-13 13:29:12 +0300
commit0e31447976e338956f4aef98930f2f28261d9983 (patch)
tree7518c5c288ff7196e5eae3521e4d17f5dab884f9 /tests
parente59343b3267e82aff33a8f73ab82b51345913c06 (diff)
Add pkg-verify --deep option
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