aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-03-20 10:53:59 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-03-20 10:53:59 +0100
commitb7076c1e7f43f61515fa9a8c4f75e4329aef69ce (patch)
tree666529a7bd1eab6c125524c399ccdb5353edfe6d
parent47929324c522cecfa8e0f64c6833f1dc3a67a735 (diff)
downloadpostgresql-b7076c1e7f43f61515fa9a8c4f75e4329aef69ce.tar.gz
postgresql-b7076c1e7f43f61515fa9a8c4f75e4329aef69ce.zip
Fix extension control path tests
Change expected extension to be installed from amcheck to plpgsql since not all build farm animals has the contrib module installed. Author: Matheus Alcantara <mths.dev@pm.me> Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/E7C7BFFB-8857-48D4-A71F-88B359FADCFD@justatheory.com
-rw-r--r--src/test/modules/test_extensions/t/001_extension_control_path.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/modules/test_extensions/t/001_extension_control_path.pl b/src/test/modules/test_extensions/t/001_extension_control_path.pl
index 7160009739a..c186c1470f7 100644
--- a/src/test/modules/test_extensions/t/001_extension_control_path.pl
+++ b/src/test/modules/test_extensions/t/001_extension_control_path.pl
@@ -64,14 +64,14 @@ is( $ret2,
# Ensure that extensions installed on $system is still visible when using with
# custom extension control path.
my $ret3 = $node->safe_psql('postgres',
- "select count(*) > 0 as ok from pg_available_extensions where name = 'amcheck'"
+ "select count(*) > 0 as ok from pg_available_extensions where name = 'plpgsql'"
);
is($ret3, "t",
"\$system extension is installed correctly on pg_available_extensions");
my $ret4 = $node->safe_psql('postgres',
- "set extension_control_path = ''; select count(*) > 0 as ok from pg_available_extensions where name = 'amcheck'"
+ "set extension_control_path = ''; select count(*) > 0 as ok from pg_available_extensions where name = 'plpgsql'"
);
is($ret4, "t",
"\$system extension is installed correctly on pg_available_extensions with empty extension_control_path"