aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/05-upgrade.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/05-upgrade.t b/t/05-upgrade.t
index 5d276cb..2b7a015 100755
--- a/t/05-upgrade.t
+++ b/t/05-upgrade.t
@@ -11,7 +11,7 @@ use Test::Sbotools qw/ make_slackbuilds_txt set_lo sboconfig sboinstall sboupgra
use File::Temp 'tempdir';
if ($ENV{TEST_INSTALL}) {
- plan tests => 18;
+ plan tests => 19;
} else {
plan skip_all => 'Only run these tests if TEST_INSTALL=1';
}
@@ -131,6 +131,9 @@ install('LO', 'nonexistentslackbuild');
sboupgrade qw/ -r -f nonexistentslackbuild /, { expected => qr/^Upgrade queue: nonexistentslackbuild$/m };
sboupgrade qw/ -r -f nonexistentslackbuild2 /, { expected => "" };
+# 19: sboupgrade -r on something already up to date
+sboupgrade qw/ -r nonexistentslackbuild /, { expected => "" };
+
# Cleanup
END {
cleanup();