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/12-readme.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/12-readme.t')
-rwxr-xr-x | t/12-readme.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/12-readme.t b/t/12-readme.t index cfa73cf..ff69ac2 100755 --- a/t/12-readme.t +++ b/t/12-readme.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 sboremove /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo sboinstall sboremove restore_perf_dummy /; if ($ENV{TEST_INSTALL}) { plan tests => 10; @@ -31,6 +31,7 @@ sub cleanup { cleanup(); make_slackbuilds_txt(); set_lo("$RealBin/LO-readme"); +restore_perf_dummy(); # 1: sboinstall envsettingtest - fail sboinstall 'envsettingtest', { input => "n\ny\ny", exit => 3, expected => qr{It looks like envsettingtest has options; would you like to set any when the slackbuild is run.*FOO isn't bar!.*envsettingtest: envsettingtest.SlackBuild return non-zero}s }; |