git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 283a95d)
Make Perl warnings fatal in newly added TAP tests
Wed, 3 Jan 2024 12:16:55 +0000 (13:16 +0100)
Wed, 3 Jan 2024 12:16:55 +0000 (13:16 +0100)
New TAP tests added by commits 9a17be1e and 4710b67d missed to convert
warnings to FATAL. This commit fixes that.

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>


diff --git a/contrib/pg_stat_statements/t/010_restart.pl b/contrib/pg_stat_statements/t/010_restart.pl
index 83a2bf0db8203034856e50d719676d34d96a223f..426552c8d48cd39d4254d60caa7b1b4a533d8bb7 100644 (file)
--- a/contrib/pg_stat_statements/t/010_restart.pl
+++ b/contrib/pg_stat_statements/t/010_restart.pl
@@ -4,7 +4,7 @@
# across restarts.
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/bin/pg_upgrade/t/004_subscription.pl b/src/bin/pg_upgrade/t/004_subscription.pl
index d08ffffe108d5e268a7380a1cc256d779b5670d8..4f7f6d9c04a98a2a204a8efd4c96cb0d38278610 100644 (file)
--- a/src/bin/pg_upgrade/t/004_subscription.pl
+++ b/src/bin/pg_upgrade/t/004_subscription.pl
@@ -2,7 +2,7 @@
# Test for pg_upgrade of logical subscription
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Find qw(find);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /