mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
Fix one more TAP test to use standard command-line argument ordering.
Commit 84c08a7649
should have been
back-patched into 9.4, but was not, so this test continued to pass for
the wrong reason there. Noted while investigating other failures.
This commit is contained in:
@@ -25,7 +25,7 @@ command_ok([ 'initdb', '-X', "$tempdir/pgxlog", "$tempdir/data" ],
|
|||||||
|
|
||||||
system_or_bail "rm -rf '$tempdir'/*";
|
system_or_bail "rm -rf '$tempdir'/*";
|
||||||
command_fails(
|
command_fails(
|
||||||
[ 'initdb', "$tempdir/data", '-X', 'pgxlog' ],
|
[ 'initdb', '-X', 'pgxlog', "$tempdir/data" ],
|
||||||
'relative xlog directory not allowed');
|
'relative xlog directory not allowed');
|
||||||
|
|
||||||
system_or_bail "rm -rf '$tempdir'/*";
|
system_or_bail "rm -rf '$tempdir'/*";
|
||||||
|
Reference in New Issue
Block a user