X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=t%2Finstall.t;h=f31ec6774bb994b263421f83a2b96a83f9033f34;hb=e7ce7c71c84e3e2a394562a6adec73062759f5df;hp=9b8d5eebfee8810539318fe4da4cb9ce4bdf588d;hpb=6adc79aeafb90e90c9923b3eeedab662888927e9;p=zpackage diff --git a/t/install.t b/t/install.t index 9b8d5ee..f31ec67 100755 --- a/t/install.t +++ b/t/install.t @@ -6,7 +6,7 @@ . tap.sh -plan 51 +plan 53 newpkg() { pkgid=$1 @@ -142,7 +142,7 @@ newpkg $pkgid bin/sh okexit setup package $pkgid require rm bin/sh PF=$pkgid.zpm -zpm install -v -R. -d local.db -f $PF $pkgid | diagstdin +zpm install -R. -d local.db -f $PF $pkgid | diagstdin okexit installed $pkgid oktest -f bin/sh @@ -186,6 +186,9 @@ skiponfail 3 "can't create $pkgid" || { } } +tryrun zpm uninstall -R. -d local.db third-1.0-1 +test -f bin/echo +failsok bin/echo removed cd .. || bailout require rm -rf tmp