diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-07-17 00:13:08 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-07-17 00:13:08 +0200 |
commit | a2ae3a6df224fb79a75c2a043d8e6b4830ccf2bf (patch) | |
tree | bad55fa82c8edd17b76a4aa713c7591fb99bad41 | |
parent | b339c961380eb69c1af6d24a9802fd3f9b0dddbe (diff) | |
download | sbotools2-a2ae3a6df224fb79a75c2a043d8e6b4830ccf2bf.tar.xz |
05-upgrade.t: test sboupgrade -r on already uptodate slackbuild
-rwxr-xr-x | t/05-upgrade.t | 5 |
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(); |