mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Revert "Check that we have a working tar before trying to use it"
This reverts commit f920f7e799.
The patch in effect fixed a problem we didn't have and caused another
instead.
Backpatch to release 14 like original
Discussion: https://postgr.es/m/3655283.1638977975@sss.pgh.pa.us
			
			
This commit is contained in:
		| @@ -267,9 +267,11 @@ is(scalar(@tblspc_tars), 1, 'one tablespace tar was created'); | |||||||
| SKIP: | SKIP: | ||||||
| { | { | ||||||
| 	my $tar = $ENV{TAR}; | 	my $tar = $ENV{TAR}; | ||||||
|  | 	# don't check for a working tar here, to accomodate various odd | ||||||
|  | 	# cases such as AIX. If tar doesn't work the init_from_backup below | ||||||
|  | 	# will fail. | ||||||
| 	skip "no tar program available", 1 | 	skip "no tar program available", 1 | ||||||
| 	  if (!defined $tar || $tar eq '' | 	  if (!defined $tar || $tar eq ''); | ||||||
| 		  || system_log($tar, '--version') != 0); |  | ||||||
|  |  | ||||||
| 	my $node2 = PostgreSQL::Test::Cluster->new('replica'); | 	my $node2 = PostgreSQL::Test::Cluster->new('replica'); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user