aboutsummaryrefslogtreecommitdiff
path: root/t/02.2-unit-repo.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-28 19:00:34 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-28 19:00:34 +0200
commit0cbd912240fcfacfae6609d5b3aedc35630dfea2 (patch)
treea351437c284d394d2db9694648f6e915398c9ae5 /t/02.2-unit-repo.t
parent2602ec55700d520d96769d559893152b49e2c0b9 (diff)
downloadsbotools2-0cbd912240fcfacfae6609d5b3aedc35630dfea2.tar.xz
02.2-unit-repo.t: make sure we don't try with a too new slackware version
Diffstat (limited to 't/02.2-unit-repo.t')
-rwxr-xr-xt/02.2-unit-repo.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/02.2-unit-repo.t b/t/02.2-unit-repo.t
index bf5f54b..5f28f32 100755
--- 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); };
};