From 84c08a7649b8c6dd488dfe0e37ab017e8059cd33 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Sat, 2 May 2015 16:46:52 -0400 Subject: [PATCH] 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 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'/*";