summaryrefslogtreecommitdiffstats
path: root/tests/remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/remove.sh')
-rwxr-xr-xtests/remove.sh7
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'
+
: