From 33b051293a40b138c1ac02cdd1425977977dcd1d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 7 Jan 2016 17:36:43 -0500 Subject: [PATCH] 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 d12be842c1..eef2300009 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'/*"; -- 2.50.0