Make all Perl warnings fatal, catch-up

Apply c538592959 to new Perl files that had missed the note.
pull/163/head
Peter Eisentraut 2 years ago
parent 54b69f1bd7
commit cc70e170c0
  1. 2
      src/bin/pg_walsummary/t/001_basic.pl
  2. 2
      src/bin/pg_walsummary/t/002_blocks.pl
  3. 2
      src/common/unicode/generate-unicode_case_table.pl
  4. 2
      src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
  5. 2
      src/test/modules/test_json_parser/t/002_inline.pl
  6. 2
      src/test/modules/test_json_parser/t/003_test_semantic.pl
  7. 2
      src/test/modules/test_json_parser/t/004_test_parser_perf.pl
  8. 2
      src/test/modules/test_misc/t/005_timeouts.pl
  9. 2
      src/test/recovery/t/040_standby_failover_slots_sync.pl
  10. 2
      src/test/recovery/t/041_checkpoint_at_promote.pl
  11. 2
      src/test/recovery/t/042_low_level_backup.pl

@ -1,7 +1,7 @@
# Copyright (c) 2021-2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;

@ -1,7 +1,7 @@
# Copyright (c) 2021-2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use File::Compare;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

@ -9,7 +9,7 @@
# Copyright (c) 2000-2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use Getopt::Long;
use FindBin;

@ -5,7 +5,7 @@
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;

@ -5,7 +5,7 @@
# for a variety of small inputs.
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;

@ -5,7 +5,7 @@
# output with the expected output.
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;

@ -7,7 +7,7 @@
# of iterations instead of just one.
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;

@ -2,7 +2,7 @@
# Copyright (c) 2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use locale;
use PostgreSQL::Test::Cluster;

@ -2,7 +2,7 @@
# Copyright (c) 2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

@ -2,7 +2,7 @@
# Copyright (c) 2024, PostgreSQL Global Development Group
use strict;
use warnings;
use warnings FATAL => 'all';
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Time::HiRes qw(usleep);

@ -5,7 +5,7 @@
# to create backups.
use strict;
use warnings;
use warnings FATAL => 'all';
use File::Copy qw(copy);
use File::Path qw(rmtree);

Loading…
Cancel
Save