diff options
Diffstat (limited to 'src/bin/scripts/t/011_clusterdb_all.pl')
-rw-r--r-- | src/bin/scripts/t/011_clusterdb_all.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/scripts/t/011_clusterdb_all.pl b/src/bin/scripts/t/011_clusterdb_all.pl index 26315d0a510..f1cb5e3f155 100644 --- a/src/bin/scripts/t/011_clusterdb_all.pl +++ b/src/bin/scripts/t/011_clusterdb_all.pl @@ -12,10 +12,8 @@ my $node = PostgreSQL::Test::Cluster->new('main'); $node->init; $node->start; -# clusterdb -a is not compatible with -d, hence enforce environment variable -# correctly. -$ENV{PGDATABASE} = 'postgres'; - +# clusterdb -a is not compatible with -d. This relies on PGDATABASE to be +# set, something PostgreSQL::Test::Cluster does. $node->issues_sql_like( [ 'clusterdb', '-a' ], qr/statement: CLUSTER.*statement: CLUSTER/s, |