diff options
author | Slack Coder <slackcoder@server.ky> | 2025-01-23 16:28:08 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2025-01-29 06:27:23 -0500 |
commit | 6ebf3cd77a7aa308a5bc933727eb3255d8dd8a4b (patch) | |
tree | baf194e3f0ffb568b7d2f00bdfd8168e81b770a9 /t/13-local-check.t | |
parent | 921e9a76f1ca47d30d765f2f2bf61954e8ac9c9c (diff) | |
download | sbotools2-6ebf3cd77a7aa308a5bc933727eb3255d8dd8a4b.tar.xz |
Improve GPG verification handling
Diffstat (limited to 't/13-local-check.t')
-rwxr-xr-x | t/13-local-check.t | 5 |
1 files changed, 4 insertions, 1 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\?/ }; |