diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-20 02:26:41 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-20 02:26:41 +0100 |
commit | b8aa632a6deede861d250d5b778f665aed44a3a0 (patch) | |
tree | 2d766fe5cc6fed38df26f06da23ffc4d2dbab5cf /t/01-test.t | |
parent | 6caeb18c60aac9ad18d9633e517aa720d136311f (diff) | |
download | sbotools2-b8aa632a6deede861d250d5b778f665aed44a3a0.tar.xz |
sbocheck: include LO vs SBo version mismatches
And generally make the output more coherent.
This also adds tests for this feature. Closes #20.
Diffstat (limited to 't/01-test.t')
-rwxr-xr-x | t/01-test.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/01-test.t b/t/01-test.t index f1f9117..153e438 100755 --- a/t/01-test.t +++ b/t/01-test.t @@ -399,10 +399,10 @@ sub { my $listing; stdout_is(sub { $listing = get_update_list(); }, "Checking for updated SlackBuilds...\n", 'output of get_update_list() good'); s/\s//g for @$listing; - is (shift(@$listing), 'adobe-reader9.5.1_enu<needsupdating(SBohas9.5.1)', 'get_update_list listing good for adobe-reader'); - is (shift(@$listing), 'ffmpeg0.8.7<needsupdating(SBohas0.11.1)', 'get_update_list listing good for ffmpeg'); - is (shift(@$listing), 'libdvdnav4.1.3<needsupdating(SBohas4.2.0)', 'get_update_list listing test, libdvdnav'); - is (shift(@$listing), 'mutagen1.15<needsupdating(SBohas1.20)', 'get_update_list listing good for mutagen'); + is (shift(@$listing), 'adobe-reader9.5.1_enu<needsupdating(9.5.1fromSBo)', 'get_update_list listing good for adobe-reader'); + is (shift(@$listing), 'ffmpeg0.8.7<needsupdating(0.11.1fromSBo)', 'get_update_list listing good for ffmpeg'); + is (shift(@$listing), 'libdvdnav4.1.3<needsupdating(4.2.0fromSBo)', 'get_update_list listing test, libdvdnav'); + is (shift(@$listing), 'mutagen1.15<needsupdating(1.20fromSBo)', 'get_update_list listing good for mutagen'); }; # 47: remove_stuff test - can only really test for invalid input |