From: Fujii Masao Date: Tue, 26 Jul 2016 12:17:38 +0000 (+0900) Subject: Fix improper example of using psql() function in TAP tests documentation. X-Git-Tag: REL9_6_BETA4~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1a95425780ef8e72c2f65504a7e90bcb223ca4a;p=postgresql Fix improper example of using psql() function in TAP tests documentation. In an example of TAP test scripts, there is the test checking whether the result of the query is expected or not. But, in previous example, the exit code of psql instead of the query result was checked unexpectedly. Author: Ildar Musin --- diff --git a/src/test/perl/README b/src/test/perl/README index 9eae159db8..36d41203ce 100644 --- a/src/test/perl/README +++ b/src/test/perl/README @@ -41,7 +41,7 @@ against them and evaluate the results. For example: $node->init; $node->start; - my $ret = $node->psql('postgres', 'SELECT 1'); + my $ret = $node->safe_psql('postgres', 'SELECT 1'); is($ret, '1', 'SELECT 1 returns 1'); $node->stop('fast');