aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest/testscript')
-rw-r--r--tests/manifest/testscript23
1 files changed, 17 insertions, 6 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index b72f492..59f4db0 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -76,12 +76,18 @@
EOF
}
- : git
+ : dir
:
{
- : manifest
+ : empty
+ :
+ : Roundtrip an empty dir package manifest list.
+ :
+ $* -gp <"" >:""
+
+ : non-empty
:
- : Roundtrip the git package manifest list.
+ : Roundtrip the dir package manifest list.
:
$* -gp <<EOF >>EOF
: 1
@@ -90,11 +96,16 @@
location: mhello/
EOF
- : empty
+ : duplicate
:
- : Roundtrip an empty git package manifest list.
+ $* -gp <<EOI 2>'stdin:5:1: error: duplicate package manifest' != 0
+ : 1
+ location: hello/
:
- $* -gp <"" >:""
+ location: hello/
+ :
+ location: mhello/
+ EOI
}
}