diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-26 21:47:25 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-26 21:47:25 (EDT) |
commit | f31f9d99d72d06ed7a903cf7d6572389775af424 (patch) | |
tree | 873cf6d7c90420a45312c4dd64d23efcf3beec0e /tests | |
parent | 58729fd70032afb8eea61cbdc9256979061945b6 (diff) |
tests/remove.sh: Verify Manifest
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/remove.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/remove.sh b/tests/remove.sh index f50a007..b9adc7f 100755 --- a/tests/remove.sh +++ b/tests/remove.sh @@ -22,7 +22,7 @@ . tap-functions.sh . opk.sh -plan_ 9 +plan_ 10 make_opks_and_changes 'foo' 'foo bar' '1.0-1' 'arch' 'plat' 'trunk' 'base' \ >/dev/null @@ -39,6 +39,8 @@ command_ok_ 'package "bar" in pool' -- \ command_ok_ 'package "baz" in pool' -- \ [ -f 'archive/pool/b/baz/baz_1.0-1_arch_plat.opk' ] +cp 'archive/feeds/dev/trunk/Manifest' 'Manifest.exp' + command_ok_ 'pro-archman remove dev/trunk foo' -- \ "${PRO_ARCHMAN}" -v -b 'archive/' remove 'dev/trunk' 'foo' @@ -65,4 +67,7 @@ cat >'Packages.exp' <<-EOF EOF command_ok_ 'packages index OK' -- diff -u 'Packages.exp' "${got_packages}" +command_ok_ 'arch-plat-sect manifest OK' -- diff -u \ + 'Manifest.exp' 'archive/feeds/dev/trunk/Manifest' + : |