diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-02-09 16:52:33 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-02-09 16:52:33 +0900 |
commit | 169208092f5c98a6021b23b38f03a5d65f84ad96 (patch) | |
tree | daf82ede81714635c4143d605eeccb3d42eecd91 /src/fe_utils/string_utils.c | |
parent | ecb8226af63dc8f1c0859977102764704368693b (diff) | |
download | postgresql-169208092f5c98a6021b23b38f03a5d65f84ad96.tar.gz postgresql-169208092f5c98a6021b23b38f03a5d65f84ad96.zip |
Refactor TAP test code for file comparisons into new routine in Utils.pm
This unifies the output used should any differences be found in the
files provided, information that 027_stream_regress did not show on
failures. TAP tests of pg_combinebackup and pg_upgrade now rely on the
refactored routine, reducing the dependency to the diff command. The
callers of this routine can optionally specify a custom line-comparison
function.
There are a couple of tests that still use directly a diff command:
001_pg_bsd_indent, 017_shm and test_json_parser's 003. These rely on
different properties and are left out for now.
Extracted from a larger patch by the same author.
Author: Ashutosh Bapat
Discussion: https://postgr.es/m/Z6RQS-tMzGYjlA-H@paquier.xyz
Diffstat (limited to 'src/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions