diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 15:48:54 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 15:48:54 +0100 |
commit | 6e723140c20e172c633cf2718fe56eaeca48a6d8 (patch) | |
tree | bcae4720e85a5d908352d22267f4df103d581e58 | |
parent | df3205097835c450a28f2a254a93cbf7215cd24c (diff) | |
download | sbotools2-6e723140c20e172c633cf2718fe56eaeca48a6d8.tar.xz |
Test sboupgrade --all; see #19
-rwxr-xr-x | t/travis.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/travis.sh b/t/travis.sh index e3cabf4..1613cab 100755 --- a/t/travis.sh +++ b/t/travis.sh @@ -49,3 +49,10 @@ run sboupgrade -r nonexistentslackbuild y END ) || [ "$?" = "1" ] + +# Test sboupgrade --all +sudo /sbin/removepkg nonexistentslackbuild +sudo /sbin/installpkg nonexistentslackbuild-0.9-noarch-1_SBo.tgz +run sboupgrade -r --all +[ -e /var/log/packages/nonexistentslackbuild-1.0-noarch-1_SBo ] +[ ! -e /var/log/packages/nonexistentslackbuild-0.9-noarch-1_SBo ] |