aboutsummaryrefslogtreecommitdiff
path: root/t/test.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-26 01:31:13 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-26 01:31:13 +0100
commitf4ae4ecab30efddd0e2d884defafa677778c4195 (patch)
treeea35efe389facd0ec0225561cd2ba7447f75aabe /t/test.t
parentabad692a4109f71a57b4f0e4a2dbe6fce17f9b45 (diff)
parent8d7884f0bb6e114f877a186c6fdf850068690201 (diff)
downloadsbotools2-f4ae4ecab30efddd0e2d884defafa677778c4195.tar.xz
Merge branch 'master' of github.com:pink-mist/sbotools
Diffstat (limited to 't/test.t')
-rwxr-xr-xt/test.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/test.t b/t/test.t
index 8b5eeb4..f2031e7 100755
--- a/t/test.t
+++ b/t/test.t
@@ -159,6 +159,15 @@ my $downloads = get_sbo_downloads(LOCATION => "$sbo_home/system/ifuse");
$link = 'http://www.libimobiledevice.org/downloads/ifuse-1.1.1.tar.bz2';
is($$downloads{$link}, '8d528a79de024b91f12f8ac67965c37c',
'get_sbo_downloads test 03 good.');
+$downloads = get_sbo_downloads(LOCATION => "$sbo_home/multimedia/mpv");
+my @links = qw'
+ https://github.com/mpv-player/mpv/archive/v0.10.0.tar.gz
+ http://www.freehackers.org/~tnagy/release/waf-1.8.12
+';
+is ($$downloads{$links[0]}, 'e81a975e4fa17f500dc2e7ea3d3ecf25',
+ 'get_sbo_downloads test 04 good.');
+is ($$downloads{$links[1]}, 'cef4ee82206b1843db082d0b0506bf71',
+ 'get_sbo_downloads test 05 good.');
# get_filename_from_link test
is(get_filename_from_link(