aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/pg_amcheck/t/002_nonesuch.pl11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/bin/pg_amcheck/t/002_nonesuch.pl b/src/bin/pg_amcheck/t/002_nonesuch.pl
index 4df17885f97..afff146e246 100644
--- a/src/bin/pg_amcheck/t/002_nonesuch.pl
+++ b/src/bin/pg_amcheck/t/002_nonesuch.pl
@@ -3,7 +3,7 @@ use warnings;
use PostgresNode;
use TestLib;
-use Test::More tests => 75;
+use Test::More tests => 72;
# Test set-up
my ($node, $port);
@@ -71,15 +71,6 @@ $node->command_checks_all(
[ ],
'checking with a non-existent user');
-# Failing to connect to the initial database due to bad username is an still an
-# error under --no-strict-names.
-$node->command_checks_all(
- [ 'pg_amcheck', '--no-strict-names', '-U', 'no_such_user', 'postgres' ],
- 1,
- [ qr/^$/ ],
- [ qr/role "no_such_user" does not exist/ ],
- 'checking with a non-existent user under --no-strict-names');
-
#########################################
# Test checking databases without amcheck installed