postgres.git / summary / log / commit / refs
commit 84c08a7649b8c6dd488dfe0e37ab017e8059cd33
Author: Noah Misch <noah@leadboat.com>
Date: Sat May 02 20:46:52 2015 +0000
First released in: 9.5.0
Fix one more TAP test to use standard command-line argument ordering.
Commit c67a86f7da90c30b81f91957023fb752f06f0598 caught most of these,
but this negative test escaped notice. The test did pass, for the wrong
reason, under affected configurations.
Michael Paquier
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: b339a5cf900b]