From f31f9d99d72d06ed7a903cf7d6572389775af424 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 26 Apr 2019 21:47:25 -0400 Subject: tests/remove.sh: Verify Manifest --- 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' + : -- cgit v0.9.1