mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-27 01:17:19 +02:00
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. |
||
---|---|---|
.. | ||
po | ||
t | ||
.gitignore | ||
common.c | ||
compress_io.c | ||
compress_io.h | ||
dumputils.c | ||
dumputils.h | ||
Makefile | ||
nls.mk | ||
parallel.c | ||
parallel.h | ||
pg_backup_archiver.c | ||
pg_backup_archiver.h | ||
pg_backup_custom.c | ||
pg_backup_db.c | ||
pg_backup_db.h | ||
pg_backup_directory.c | ||
pg_backup_null.c | ||
pg_backup_tar.c | ||
pg_backup_tar.h | ||
pg_backup_utils.c | ||
pg_backup_utils.h | ||
pg_backup.h | ||
pg_dump_sort.c | ||
pg_dump.c | ||
pg_dump.h | ||
pg_dumpall.c | ||
pg_restore.c |