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/docs/pod-spelling.t | 6 ++++-- perl/t/docs/pod.t | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'perl/t/docs') diff --git a/perl/t/docs/pod-spelling.t b/perl/t/docs/pod-spelling.t index 94d7503..819aa69 100755 --- a/perl/t/docs/pod-spelling.t +++ b/perl/t/docs/pod-spelling.t @@ -6,6 +6,7 @@ # which can be found at . # # Written by Russ Allbery +# Copyright 2019 Russ Allbery # Copyright 2013-2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -29,15 +30,16 @@ # # SPDX-License-Identifier: MIT -use 5.006; +use 5.008; use strict; use warnings; use lib 't/lib'; -use Test::More; use Test::RRA qw(skip_unless_author use_prereq); +use Test::More; + # Only run this test for the module author since the required stopwords are # too sensitive to the exact spell-checking program and dictionary. skip_unless_author('Spelling tests'); diff --git a/perl/t/docs/pod.t b/perl/t/docs/pod.t index 5fcfcdf..e7d0231 100755 --- a/perl/t/docs/pod.t +++ b/perl/t/docs/pod.t @@ -6,6 +6,7 @@ # which can be found at . # # Written by Russ Allbery +# Copyright 2019 Russ Allbery # Copyright 2012-2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -29,15 +30,16 @@ # # SPDX-License-Identifier: MIT -use 5.006; +use 5.008; use strict; use warnings; use lib 't/lib'; -use Test::More; use Test::RRA qw(skip_unless_automated use_prereq); +use Test::More; + # Skip this test for normal user installs, although pod2man may still fail. skip_unless_automated('POD syntax tests'); -- cgit v1.2.3