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/08-env.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/08-env.t')
-rwxr-xr-x | t/08-env.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo sboinstall restore_perf_dummy /; if ($ENV{TEST_INSTALL}) { plan tests => 5; @@ -38,7 +38,7 @@ sub cleanup { cleanup('/tmp/SBo', '/tmp'); make_slackbuilds_txt(); set_lo("$RealBin/LO"); - +restore_perf_dummy(); SKIP: { skip "Not testing unset OUTPUT", 1 if exists $ENV{TEST_OUTPUT} and $ENV{TEST_OUTPUT} ne ''; |