sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 87e3cc8e20b515b098700d2c54b6a94884cff142
parent dfefa4de34f4b7574a2049126bd0c0cdc01dd198
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Tue, 15 Dec 2015 10:59:02 +0100

Add -r option to sboupgrade --all incantation

Diffstat:
Mt/travis.t | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/travis.t b/t/travis.t @@ -96,7 +96,7 @@ SKIP: { skip 'Cannot test if nonexistentslackbuild is already installed', 4 if @files; is (system(qw!/sbin/installpkg nonexistentslackbuild-0.9-noarch-1_SBo.tgz!), 0, 'installpkg old version works'); - like (run(cmd => [qw/ sboupgrade --all /]), + like (run(cmd => [qw/ sboupgrade -r --all /]), qr/Checking for updated SlackBuilds.*nonexistentslackbuild added to upgrade queue.*Cleaning for nonexistentslackbuild/s, 'sboupgrade --all works'); ok (-e "/var/log/packages/nonexistentslackbuild-1.0-noarch-1_SBo", 'updated package is installed'); ok (! -e "/var/log/packages/nonexistentslackbuild-0.9-noarch-1_SBo", 'old package is removed');