Avoid accidental wildcard expansion in msys shell

Commit f092de05 added a test for pg_dumpall --exclude-database including
the wildcard pattern '*dump*' which matches some files in the source
directory. The test library on msys uses the shell which expands this
and thus the program gets incorrect arguments. This doesn't happen if
the pattern doesn't match any files, so here the pattern is set to
'*dump_test*' which is such a pattern.

Per buildfarm animal jacana.
This commit is contained in:
Andrew Dunstan 2019-03-03 11:48:12 -05:00
parent ed4653db8c
commit 78b408a20a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ my %pgdump_runs = (
pg_dumpall_exclude => {
dump_cmd => [
'pg_dumpall', '-v', "--file=$tempdir/pg_dumpall_exclude.sql",
'--exclude-database', '*dump*', '--no-sync',
'--exclude-database', '*dump_test*', '--no-sync',
],
},
no_blobs => {