psql: More tests
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 12 Oct 2021 07:45:57 +0000 (09:45 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 12 Oct 2021 07:55:07 +0000 (09:55 +0200)
commitc0280bc3edeb9e9958efc14083b6f301d2ef79d5
treeed9d0f0b0e084ee5b5515e73a3dc62bbcd571331
parentf9c4cb686800d46ef9e9e90ed5133493b23962af
psql: More tests

Add some basic tests for command-line option handling and help output,
similar to what we have for other command-line programs.  This also
creates a place to put some more one-off test cases later.

Discussion: https://www.postgresql.org/message-id/2570e2ae-fa0f-aac9-f72f-bb59a9983a20@enterprisedb.com
src/bin/psql/t/001_basic.pl [new file with mode: 0644]