commit 0cbd912240fcfacfae6609d5b3aedc35630dfea2
parent 2602ec55700d520d96769d559893152b49e2c0b9
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Sun, 28 Aug 2016 19:00:34 +0200
02.2-unit-repo.t: make sure we don't try with a too new slackware version
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/t/02.2-unit-repo.t b/t/02.2-unit-repo.t
@@ -24,6 +24,9 @@ my $rsync_res;
note "Unit repo: $url";
note "rsync $url:\n" . capture_merged {
+ no warnings 'redefine';
+ local *SBO::Lib::Repo::get_slack_version = sub { '14.1' };
+
$rsync_res = exit_code { rsync_sbo_tree($url); };
};