diff options
Diffstat (limited to 't/07-fail.t')
-rwxr-xr-x | t/07-fail.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/07-fail.t b/t/07-fail.t index cd6dced..217bef3 100755 --- a/t/07-fail.t +++ b/t/07-fail.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 set_repo sboinstall sboremove sbosnap /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo set_repo sboinstall sboremove sbosnap restore_perf_dummy /; use File::Temp 'tempdir'; if ($ENV{TEST_INSTALL}) { @@ -84,6 +84,7 @@ sub cleanup { cleanup(); make_slackbuilds_txt(); set_lo("$RealBin/LO-fail"); +restore_perf_dummy(); # 1: Failing slackbuild script sboinstall 'failingslackbuild', { input => "y\ny", expected => qr/Failures:\n failingslackbuild: failingslackbuild.SlackBuild return non-zero\n\z/, exit => 3 }; |