projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c2c40
)
Fix improper example of using psql() function in TAP tests documentation.
author
Fujii Masao
<fujii@postgresql.org>
Tue, 26 Jul 2016 12:17:38 +0000
(21:17 +0900)
committer
Fujii Masao
<fujii@postgresql.org>
Tue, 26 Jul 2016 12:17:38 +0000
(21:17 +0900)
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
src/test/perl/README
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/README
b/src/test/perl/README
index 9eae159db86f17b72785ae657e978f5f67e30cce..36d41203ce82811790991c992717692d199265bc 100644
(file)
--- 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');