aboutsummaryrefslogtreecommitdiff
path: root/t/travis.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-15 10:59:02 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-15 10:59:02 +0100
commit87e3cc8e20b515b098700d2c54b6a94884cff142 (patch)
tree386331d1a1a333daf1860a4001b6e7f3d8849f4d /t/travis.t
parentdfefa4de34f4b7574a2049126bd0c0cdc01dd198 (diff)
downloadsbotools2-87e3cc8e20b515b098700d2c54b6a94884cff142.tar.xz
Add -r option to sboupgrade --all incantation
Diffstat (limited to 't/travis.t')
-rwxr-xr-xt/travis.t2
1 files changed, 1 insertions, 1 deletions
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');