diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-28 19:00:34 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-28 19:00:34 +0200 |
commit | 0cbd912240fcfacfae6609d5b3aedc35630dfea2 (patch) | |
tree | a351437c284d394d2db9694648f6e915398c9ae5 /t/02.2-unit-repo.t | |
parent | 2602ec55700d520d96769d559893152b49e2c0b9 (diff) | |
download | sbotools2-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-x | t/02.2-unit-repo.t | 3 |
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); }; }; |