diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 06:59:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 06:59:28 +0200 |
commit | cae11509203061e894e6310c35ea50ae818af3a7 (patch) | |
tree | e9d38297725b9d8ef4442366432cdee8f9ccf28c /bpkg/test.sh | |
parent | b18e54a088e84ed31f320d69b904af3f999adb2b (diff) |
Implement pkg-update command
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 |