aboutsummaryrefslogtreecommitdiff
path: root/t/test.t
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-01-06 05:00:51 -0600
committerJ Pipkin <j@dawnrazor.net>2013-01-06 05:00:51 -0600
commitfaf29b0064c6a0f37cde53d6026a15af21e6ce96 (patch)
treee67a4e611349b3aa86731c14b0518c75d38df5a2 /t/test.t
parent4254f4742fc9d857d1ee8373eb970c736fb551e8 (diff)
parent7b2703d27973908fb7b87066c29e16dd1e02c5d4 (diff)
downloadsbotools2-faf29b0064c6a0f37cde53d6026a15af21e6ce96.tar.xz
Merge branch 'dl_vr_first', fixes #35
Diffstat (limited to 't/test.t')
-rwxr-xr-xt/test.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/test.t b/t/test.t
index ae9e94c..19297d9 100755
--- a/t/test.t
+++ b/t/test.t
@@ -225,8 +225,9 @@ is(get_pkg_name $tempfh, 'skype-2.2.0.35-i486-1_SBo.tgz', 'get_pkg_name good');
#rmdir '/tmp/SBo/test.2.d';
# check_distfiles test
-%downloads = get_sbo_downloads(LOCATION => "$sbo_home/perl/perl-Sort-Versions");
-is((check_distfiles %downloads), 1, 'check_distfiles good');
+my $symlinks = check_distfiles(LOCATION => "$sbo_home/perl/perl-Sort-Versions");
+is($$symlinks[0], "$sbo_home/perl/perl-Sort-Versions/Sort-Versions-1.5.tar.gz",
+ 'check_distfiles test 01');
# check_home tests
$config{SBO_HOME} = "$pwd/test_sbo";