]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve TestLib::system_or_bail error reporting
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 6 Jul 2021 21:48:41 +0000 (17:48 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 6 Jul 2021 21:51:59 +0000 (17:51 -0400)
commit5798ca529935698ab976780565fb2b4d8d34d810
treecc054df033d7e0b8d5e5653d6baff24e4cddfdf9
parent64919aaab45076445051245c9bcd48dd84abebe7
Improve TestLib::system_or_bail error reporting

The original coding was not quoting the complete failing command, and it
wasn't printing the reason for the failure either.  Do both.

This is cosmetic only, so no backpatch.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/202106301524.eq5pblzstapj@alvherre.pgsql
src/test/perl/TestLib.pm