Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix one more TAP test to use standard command-line argument ordering.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Jan 2016 22:36:43 +0000 (17:36 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Jan 2016 22:36:43 +0000 (17:36 -0500)
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

index d12be842c1156e7996335fb0feed2eadf2e77602..eef2300009d03ef506a620b66169151e02e89024 100644 (file)
@@ -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'/*";