diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-15 10:59:02 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-15 10:59:02 +0100 |
commit | 87e3cc8e20b515b098700d2c54b6a94884cff142 (patch) | |
tree | 386331d1a1a333daf1860a4001b6e7f3d8849f4d /t/travis.t | |
parent | dfefa4de34f4b7574a2049126bd0c0cdc01dd198 (diff) | |
download | sbotools2-87e3cc8e20b515b098700d2c54b6a94884cff142.tar.xz |
Add -r option to sboupgrade --all incantation
Diffstat (limited to 't/travis.t')
-rwxr-xr-x | t/travis.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); |