Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf920f7e

Browse files
committed
Check that we have a working tar before trying to use it
Issue exposed by commitedc2332 and the buildfarm.Backpatch to release 14 where this usage started.
1 parent815d61f commitf920f7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@
268268
{
269269
my$tar =$ENV{TAR};
270270
skip"no tar program available", 1
271-
if (!defined$tar ||$tareq'');
271+
if (!defined$tar ||$tareq''
272+
|| system_log($tar,'--version') != 0);
272273

273274
my$node2 = PostgreSQL::Test::Cluster->new('replica');
274275

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp