use Config;
use PostgresNode;
use TestLib;
-use Test::More tests => 74;
+use Test::More tests => 72;
my $tempdir = TestLib::tempdir;
my $tempdir_short = TestLib::tempdir_short;
'pg_restore: options -C\/--create and -1\/--single-transaction cannot be used together'
);
-command_fails_like(
- [ 'pg_dumpall', '--exclude-database' ],
- qr/\Qpg_dumpall: option '--exclude-database' requires an argument\E/,
- 'pg_dumpall: option --exclude-database requires an argument');
-
# also fails for -r and -t, but it seems pointless to add more tests for those.
command_fails_like(
[ 'pg_dumpall', '--exclude-database=foo', '--globals-only' ],