aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 15:48:54 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 15:48:54 +0100
commit6e723140c20e172c633cf2718fe56eaeca48a6d8 (patch)
treebcae4720e85a5d908352d22267f4df103d581e58 /t
parentdf3205097835c450a28f2a254a93cbf7215cd24c (diff)
downloadsbotools2-6e723140c20e172c633cf2718fe56eaeca48a6d8.tar.xz
Test sboupgrade --all; see #19
Diffstat (limited to 't')
-rwxr-xr-xt/travis.sh7
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 ]