From c138111a3c27863308b6552a5527a9e821a3dc11 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 May 2020 17:05:30 -0700 Subject: Update to rra-c-util 8.2 and C TAP Harness 4.7 Update to rra-c-util 8.2: * Implement explicit_bzero with memset if it is not available. * Reformat all C source using clang-format 10. * Work around Test::Strict not skipping .git directories. * Fix warnings with perltidy 20190601 and Perl::Critic 1.134. * Fix warnings with Clang 10, GCC 10, and the Clang static analyzer. Update to C TAP Harness 4.7: * Fix warnings with GCC 10. * Reformat all C source using clang-format 10. * Fixed malloc error checking in bstrndup. --- perl/t/verifier/ldap-attr.t | 7 ++++--- perl/t/verifier/netdb.t | 11 ++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'perl/t/verifier') diff --git a/perl/t/verifier/ldap-attr.t b/perl/t/verifier/ldap-attr.t index 321822d..4448b38 100755 --- a/perl/t/verifier/ldap-attr.t +++ b/perl/t/verifier/ldap-attr.t @@ -6,7 +6,7 @@ # access to the LDAP server and will be skipped in all other environments. # # Written by Russ Allbery -# Copyright 2018 Russ Allbery +# Copyright 2018, 2020 Russ Allbery # Copyright 2012-2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -15,12 +15,13 @@ use strict; use warnings; -use Test::More; - use lib 't/lib'; + use Test::RRA qw(skip_unless_author); use Util; +use Test::More; + # This test requires a specific environment setup, so only run it for package # maintainers. skip_unless_author('LDAP verifier tests'); diff --git a/perl/t/verifier/netdb.t b/perl/t/verifier/netdb.t index c9e63d3..2a28468 100755 --- a/perl/t/verifier/netdb.t +++ b/perl/t/verifier/netdb.t @@ -7,7 +7,7 @@ # environments. # # Written by Russ Allbery -# Copyright 2018 Russ Allbery +# Copyright 2018, 2020 Russ Allbery # Copyright 2008, 2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -16,14 +16,15 @@ use strict; use warnings; -use Test::More; - -use Wallet::ACL::NetDB; - use lib 't/lib'; + use Test::RRA qw(skip_unless_author); use Util; +use Test::More; + +use Wallet::ACL::NetDB; + # This test requires a specific environment setup, so only run it for package # maintainers. skip_unless_author('NetDB verifier tests'); -- cgit v1.2.3