projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b339a5c
)
Fix one more TAP test to use standard command-line argument ordering.
author
Noah Misch
Sat, 2 May 2015 20:46:52 +0000
(16:46 -0400)
committer
Noah Misch
Sat, 2 May 2015 20:46:52 +0000
(16:46 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/initdb/t/001_initdb.pl
b/src/bin/initdb/t/001_initdb.pl
index d12be842c1156e7996335fb0feed2eadf2e77602..eef2300009d03ef506a620b66169151e02e89024 100644
(file)
--- 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'/*";