aboutsummaryrefslogtreecommitdiff
path: root/t/test.t
diff options
context:
space:
mode:
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";