postgres.git / summary / log / commit / refs
commit 33b051293a40b138c1ac02cdd1425977977dcd1d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu Jan 07 22:36:43 2016 +0000
First released in: 9.4.6
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.
src/bin/initdb/t/001_initdb.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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'/*";
[parent: 882c592d0c0c]