diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-30 00:05:24 +0200 |
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-30 00:05:24 +0200 |
| commit | e00794a00569655792868bc812cb824c5f522e25 (patch) | |
| tree | eaa02583438d4716c262201224d36a1a87384eef /t/09-multilib.t | |
| parent | c68be800c7403569927ccbc5459c96404a7ba9cf (diff) | |
| download | sbotools2-e00794a00569655792868bc812cb824c5f522e25.tar.xz | |
test files: add restore_perf_dummy and make_slackbuilds_txt to tests that would need them
Diffstat (limited to 't/09-multilib.t')
| -rwxr-xr-x | t/09-multilib.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/09-multilib.t b/t/09-multilib.t index 3c8602d..470b0a9 100755 --- a/t/09-multilib.t +++ b/t/09-multilib.t @@ -7,7 +7,7 @@ use Test::More; use Capture::Tiny qw/ capture_merged /; use FindBin '$RealBin'; use lib $RealBin; -use Test::Sbotools qw/ make_slackbuilds_txt set_lo sboinstall sboclean /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo sboinstall sboclean restore_perf_dummy /; use File::Temp 'tempdir'; $ENV{TEST_MULTILIB} //= 0; @@ -40,6 +40,7 @@ sub cleanup { cleanup(); make_slackbuilds_txt(); set_lo("$RealBin/LO-multilib"); +restore_perf_dummy(); # 1: Testing multilibsbo sboinstall qw/ -p multilibsbo /, { input => "y\ny\ny", expected => qr/Cleaning for multilibsbo-compat32-1[.]0[.][.][.]\n/ }; |
