Skip to content

Commit 00ae5d6

Browse files
committed
meson: Add some missing env settings for tests of pg_dump and pg_verifybackup
The commands used for the compression tests were missing in a few places, causing the tests related to these to never run. Georgios has spotted GZIP_PROGRAM missing in pg_dump, while I have noticed the ones missing in pg_verifybackup while looking at the rest of the tree. Author: Georgios Kokolatos, Michael Paquier Discussion: https://postgr.es/m/O4mutIrCES8ZhlXJiMvzsivT7ztAMja2lkdL1LJx6O5f22I2W8PBIeLKz7mDLwxHoibcnRAYJXm1pH4tyUNC4a8eDzLn22a6Pb1S74Niexg=@pm.me
1 parent 8aa03f3 commit 00ae5d6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/bin/pg_dump/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ tests += {
8282
'sd': meson.current_source_dir(),
8383
'bd': meson.current_build_dir(),
8484
'tap': {
85+
'env': {'GZIP_PROGRAM': gzip.path()},
8586
'tests': [
8687
't/001_basic.pl',
8788
't/002_pg_dump.pl',

src/bin/pg_verifybackup/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ tests += {
2121
'sd': meson.current_source_dir(),
2222
'bd': meson.current_build_dir(),
2323
'tap': {
24+
'env': {'GZIP_PROGRAM': gzip.path(),
25+
'TAR': tar.path(),
26+
'LZ4': program_lz4.found() ? program_lz4.path() : '',
27+
'ZSTD': program_zstd.found() ? program_zstd.path() : ''},
2428
'tests': [
2529
't/001_basic.pl',
2630
't/002_algorithm.pl',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy