postgresql/src/bin
Heikki Linnakangas 1ea06203b8 Improve logging of TAP tests.
Create a log file for each test run. Stdout and stderr of the test script,
as well as any subprocesses run as part of the test, are redirected to
the log file. This makes it a lot easier to debug test failures. Also print
the test output (ok 12 - ... messages) to the log file, and the command
line of any external programs executed with the system_or_bail and run_log
functions. This makes it a lot easier to debug failing tests.

Modify some of the pg_ctl and other command invocations to not use 'silent'
or 'quiet' options, and don't redirect output to /dev/null, so that you get
all the information in the log instead.

In the passing, construct some command lines in a way that works if $tempdir
contains quote-characters. I haven't systematically gone through all of
them or tested that, so I don't know if this is enough to make that work.

pg_rewind tests had a custom mechanism for creating a similar log file. Use
the new generic facility instead.

Michael Paquier and me.
2015-07-09 13:19:10 +03:00
..
initdb Translation updates 2015-06-28 23:56:55 -04:00
pg_archivecleanup Make WAL-related utilities handle .partial WAL files properly. 2015-07-03 11:53:58 +09:00
pg_basebackup Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
pg_config Translation updates 2015-06-28 23:56:55 -04:00
pg_controldata Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
pg_ctl Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
pg_dump Improve pg_restore's -t switch to match all types of relations. 2015-07-02 18:13:34 -04:00
pg_resetxlog Make WAL-related utilities handle .partial WAL files properly. 2015-07-03 11:53:58 +09:00
pg_rewind Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
pg_test_fsync Move pg_test_fsync from contrib/ to src/bin/ 2015-04-19 22:20:49 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade Replace use of "diff -q". 2015-07-08 20:44:21 -04:00
pg_xlogdump pgindent run for 9.5 2015-05-23 21:35:49 -04:00
pgbench Make a editorial pass over pgbench's error messages. 2015-07-05 19:36:57 -04:00
pgevent Update copyright for 2015 2015-01-06 11:43:47 -05:00
psql Fix null pointer dereference in "\c" psql command. 2015-07-08 20:44:21 -04:00
scripts Use appendStringInfoString/Char et al where appropriate. 2015-07-02 12:36:03 +03:00
Makefile Move pg_xlogdump from contrib/ to src/bin/ 2015-04-21 19:03:49 -04:00