aboutsummaryrefslogtreecommitdiff
path: root/t/test.t
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-01-06 03:57:04 -0600
committerJ Pipkin <j@dawnrazor.net>2013-01-06 03:57:04 -0600
commit7b2703d27973908fb7b87066c29e16dd1e02c5d4 (patch)
tree1b3d509a84e8926e3a9a1aafc82cd5b0398c0e11 /t/test.t
parent4dce56387b2437a6bd1b21e572168c02194e0d60 (diff)
downloadsbotools2-7b2703d27973908fb7b87066c29e16dd1e02c5d4.tar.xz
propogate @symlinks from check_distfiles to do_slackbuild, update tests accordingly
Diffstat (limited to 't/test.t')
-rwxr-xr-xt/test.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/test.t b/t/test.t
index 41095e7..19297d9 100755
--- a/t/test.t
+++ b/t/test.t
@@ -225,9 +225,8 @@ 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');
-is (check_distfiles(LOCATION => "$sbo_home/perl/perl-Sort-Versions"), 1,
+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