diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/13-local-check.t | 5 | ||||
-rwxr-xr-x | t/28-race-sboremove.t | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/t/13-local-check.t b/t/13-local-check.t index 36c8e10..cb241e1 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 restore_perf_dummy /; +use Test::Sbotools qw/ make_slackbuilds_txt set_lo set_repo sboconfig sbosnap sbocheck sboinstall sbofind restore_perf_dummy /; if ($ENV{TEST_INSTALL} and $ENV{TRAVIS}) { plan tests => 14; @@ -72,6 +72,9 @@ setup_gitrepo(); set_repo("file://$RealBin/gitrepo/"); restore_perf_dummy(); +# Disable GPG verification +sboconfig(qw/ --gpg-key FALSE /, { test => 0 } ); + # 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"/ }; sbofind 'nonexistentslackbuild', { input => "y", expected => qr/It looks like you haven't run "sbosnap fetch" yet\.\nWould you like me to do this now\?/ }; diff --git a/t/28-race-sboremove.t b/t/28-race-sboremove.t index 3c7e026..65eaa5d 100755 --- a/t/28-race-sboremove.t +++ b/t/28-race-sboremove.t @@ -10,7 +10,7 @@ use Capture::Tiny qw/ capture_merged /; use File::Temp 'tempdir'; use Cwd; use feature 'state'; -use Test::Sbotools qw/ set_repo set_lo sboinstall sbosnap load /; +use Test::Sbotools qw/ set_repo set_lo sboconfig sboinstall sbosnap load /; if ($ENV{TEST_INSTALL}) { plan tests => 2; @@ -31,6 +31,8 @@ git add test git commit -m 'first commit' GIT set_repo("file://$tempdir"); + +sboconfig qw/ --gpg-key FALSE /, { test => 0 }; sbosnap 'fetch', { test => 0 }; # install the readme slackbuild |