commit fa82e869fc2f500c7121f8da0a6c5676c32dedd6 Author: Robins Tharakan Date: Sun Mar 10 17:08:55 2013 +0530 Add test to check whether help message for ABORT shows up diff --git a/src/test/regress/expected/psql_help.out b/src/test/regress/expected/psql_help.out new file mode 100644 index 0000000..df9c80d --- /dev/null +++ b/src/test/regress/expected/psql_help.out @@ -0,0 +1,11 @@ +-- +-- Tests for psql's help section, that aren't closely connected to any +-- specific server features +-- +-- \h ABORT should show the ABORT help command +\h ABORT +Command: ABORT +Description: abort the current transaction +Syntax: +ABORT [ WORK | TRANSACTION ] + diff --git a/src/test/regress/parallel_schedule b/src/test/regress/parallel_schedule index 2af28b1..7991328 100644 --- a/src/test/regress/parallel_schedule +++ b/src/test/regress/parallel_schedule @@ -88,7 +88,7 @@ test: privileges security_label collate matview # ---------- # Another group of parallel tests # ---------- -test: alter_generic misc psql +test: alter_generic misc psql psql_help # rules cannot run concurrently with any test that creates a view test: rules diff --git a/src/test/regress/sql/psql_help.sql b/src/test/regress/sql/psql_help.sql new file mode 100644 index 0000000..c4f6279 --- /dev/null +++ b/src/test/regress/sql/psql_help.sql @@ -0,0 +1,7 @@ +-- +-- Tests for psql's help section, that aren't closely connected to any +-- specific server features +-- + +-- \h ABORT should show the ABORT help command +\h ABORT