aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-07 17:36:43 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-07 17:36:43 -0500
commit33b051293a40b138c1ac02cdd1425977977dcd1d (patch)
treee25b0f4347e96e9fe986d64d5ac67ca0b59fb09b
parent882c592d0c0cfc29a8265f382316c58cb8b81c66 (diff)
downloadpostgresql-33b051293a40b138c1ac02cdd1425977977dcd1d.tar.gz
postgresql-33b051293a40b138c1ac02cdd1425977977dcd1d.zip
Fix one more TAP test to use standard command-line argument ordering.
Commit 84c08a7649b8c6dd488dfe0e37ab017e8059cd33 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.
-rw-r--r--src/bin/initdb/t/001_initdb.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/t/001_initdb.pl b/src/bin/initdb/t/001_initdb.pl
index d12be842c11..eef2300009d 100644
--- a/src/bin/initdb/t/001_initdb.pl
+++ b/src/bin/initdb/t/001_initdb.pl
@@ -25,7 +25,7 @@ command_ok([ 'initdb', '-X', "$tempdir/pgxlog", "$tempdir/data" ],
system_or_bail "rm -rf '$tempdir'/*";
command_fails(
- [ 'initdb', "$tempdir/data", '-X', 'pgxlog' ],
+ [ 'initdb', '-X', 'pgxlog', "$tempdir/data" ],
'relative xlog directory not allowed');
system_or_bail "rm -rf '$tempdir'/*";