From 6e723140c20e172c633cf2718fe56eaeca48a6d8 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 14 Dec 2015 15:48:54 +0100 Subject: Test sboupgrade --all; see #19 --- t/travis.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 't/travis.sh') 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 ] -- cgit v1.2.3