. tap.sh
-plan 51
+plan 53
newpkg() {
pkgid=$1
#require zpm add -f $PF $pkgid /bin/true
#
-# install via pkgfiles
+# install via syncfs
#
require zpm pkg -f $PF $pkgid status=installing
-zpm pkgfiles -d $PF -R. $pkgid 2>&1
-okexit ran pkgfiles
+zpm syncfs -d $PF -R. $pkgid 2>&1
+okexit ran syncfs
test -f bin/true
okexit bin/true installed
}
}
+tryrun zpm uninstall -d local.db third-1.0-1
+test -f bin/echo
+failsok bin/echo removed
+ls -l bin | diagstdin
cd .. || bailout
require rm -rf tmp