postgresql/src/bin/pg_dump
Stephen Frost 6bd356c33a Add TAP tests for pg_dump
This TAP test suite will create a new cluster, populate it based on
the 'create_sql' values in the '%tests' hash, run all of the runs
defined in the '%pgdump_runs' hash, and then for each test in the
'%tests' hash, compare each run's output the the regular expression
defined for the test under the 'like' and 'unlike' functions, as
appropriate.

While this test suite covers a fair bit of ground (67% of pg_dump.c
and quite a bit of the other files in src/bin/pg_dump), there is
still quite a bit which remains to be added to provide better code
coverage.  Still, this is quite a bit better than we had, and has
found a few bugs already (note that the CREATE TRANSFORM test is
commented out, as it is currently failing).

Idea for using the TAP system from Tom, though all of the code is mine.
2016-05-06 14:06:50 -04:00
..
po Translation updates 2015-06-28 23:56:55 -04:00
t Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
.gitignore Move keywords.c/kwlookup.c into src/common/. 2016-03-23 20:22:08 -04:00
common.c In pg_dump, use a bitmap to represent what to include 2016-04-06 21:45:32 -04:00
compress_io.c Fix typos. 2016-03-15 18:06:11 -04:00
compress_io.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
dumputils.c In pg_dump, include pg_catalog and extension ACLs, if changed 2016-04-06 21:45:32 -04:00
dumputils.h In pg_dump, include pg_catalog and extension ACLs, if changed 2016-04-06 21:45:32 -04:00
Makefile Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
nls.mk Add missing source files to nls.mk 2014-07-15 10:10:42 -04:00
parallel.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
parallel.h Access pg_dump's options structs through Archive struct, not directly. 2016-01-13 17:48:33 -05:00
pg_backup_archiver.c pg_dump: Message style improvements 2016-04-25 17:16:59 -04:00
pg_backup_archiver.h Access pg_dump's options structs through Archive struct, not directly. 2016-01-13 17:48:33 -05:00
pg_backup_custom.c pg_dump: Fix inconsistent sscanf() conversions 2016-02-18 20:12:38 -05:00
pg_backup_db.c In pg_dump, remember connection passwords no matter how we got them. 2015-12-23 14:25:53 -05:00
pg_backup_db.h pg_dump: Reduce use of global variables 2014-10-14 15:00:55 -03:00
pg_backup_directory.c pg_dump: Fix inconsistent sscanf() conversions 2016-02-18 20:12:38 -05:00
pg_backup_null.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_backup_tar.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_backup_utils.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_backup.h Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_dump_sort.c Fix improper usage of 'dump' bitmap 2016-04-08 16:30:02 -04:00
pg_dump.c Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
pg_dump.h Only issue LOCK TABLE commands when necessary 2016-05-06 14:06:50 -04:00
pg_dumpall.c pg_dump: Message style improvements 2016-04-25 17:16:59 -04:00
pg_restore.c pg_dump: Message style improvements 2016-04-25 17:16:59 -04:00