From e00794a00569655792868bc812cb824c5f522e25 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 30 May 2016 00:05:24 +0200 Subject: test files: add restore_perf_dummy and make_slackbuilds_txt to tests that would need them --- t/13-local-check.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/13-local-check.t') diff --git a/t/13-local-check.t b/t/13-local-check.t index edfdb78..3d79a9f 100755 --- a/t/13-local-check.t +++ b/t/13-local-check.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 sbosnap sbocheck sboinstall sbofind /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo set_repo sbosnap sbocheck sboinstall sbofind restore_perf_dummy /; if ($ENV{TEST_INSTALL} and $ENV{TRAVIS}) { plan tests => 4; @@ -45,6 +45,7 @@ make_slackbuilds_txt(); set_lo("$RealBin/LO"); setup_gitrepo(); set_repo("file://$RealBin/gitrepo/"); +restore_perf_dummy(); # 1-2: sbofind without having a repo yet sbofind 'nonexistentslackbuild', { input => "n", expected => qr/It looks like you haven't run "sbosnap fetch" yet\.\nWould you like me to do this now\?.*Please run "sbosnap fetch"/ }; -- cgit v1.2.3