From 87e3cc8e20b515b098700d2c54b6a94884cff142 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 15 Dec 2015 10:59:02 +0100 Subject: Add -r option to sboupgrade --all incantation --- t/travis.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/travis.t b/t/travis.t index 7c23d98..814a1a3 100755 --- 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'); -- cgit v1.2.3