summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-23 19:50:28 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-23 19:50:28 (EDT)
commit1b5ca65060ae01ed5232adfb8575ef807fb2e8a9 (patch)
tree4b27bb74b9641fb4454462c272722f56201ad787
parenta2109b75b9a91bc0e0093b78ba2791387a18cd14 (diff)
tests/include.sh: Check suite manifest
-rwxr-xr-xtests/include.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/include.sh b/tests/include.sh
index 8aeca50..055d193 100755
--- a/tests/include.sh
+++ b/tests/include.sh
@@ -20,7 +20,7 @@
. tap-functions.sh
. opk.sh
-plan_ 8
+plan_ 9
changes="$(make_opks_and_changes 'foo' 'foo bar' '1.0-1' 'arch' 'plat' 'trunk' \
'base')"
@@ -80,3 +80,9 @@ command_ok_ 'package "bar" SHA256sum OK' -- \
sed 's/ .*$//')" \
= "x$(sed -n 's/^SHA256sum: //p;' "${got_packages}" | \
sed -n '1{ p; q; }')" ]
+
+cat >'Manifest.exp' <<-EOF
+ arch/plat/base
+ EOF
+command_ok_ 'suite manifest OK' -- \
+ diff -u 'Manifest.exp' 'archive/feeds/dev/trunk/Manifest'