diff options
Diffstat (limited to 'bpkg/test.sh')
-rwxr-xr-x | bpkg/test.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bpkg/test.sh b/bpkg/test.sh index 66ff1ad..b7282b6 100755 --- a/bpkg/test.sh +++ b/bpkg/test.sh @@ -262,3 +262,32 @@ chmod 755 $out $out/build rm -r $out test pkg-purge -f $pkg stat unknown + +## +## pkg-update +## + +fail pkg-update # package name expected +fail pkg-update $pkg # no such package +test pkg-fetch -e $pkga +fail pkg-update $pkg # wrong package state +test pkg-purge $pkg + +# src == out +# +test pkg-fetch -e $pkga +test pkg-unpack $pkg +test pkg-configure $pkg +test pkg-update $pkg +test pkg-update $pkg +test pkg-disfigure $pkg +test pkg-purge $pkg + +# src != out +# +test pkg-unpack -e $pkgd +test pkg-configure $pkg +test pkg-update $pkg +test pkg-update $pkg +test pkg-disfigure $pkg +test pkg-purge $pkg |