On 10/20/14 2:59 PM, Tom Lane wrote:
> My Salesforce colleague Thomas Fanghaenel observed that the TAP tests
> for pg_basebackup fail when run in a sufficiently deeply-nested directory
> tree.

As for the test, we can do something like the attached to mark the test
as "TODO".

diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl
index 597fb60..695fd98 100644
--- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl
+++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl
@@ -68,6 +68,8 @@
 		"-T$tempdir/tblspc1=$tempdir/tbackup/tblspc1" ],
 	'plain format with tablespaces succeeds with tablespace mapping');
 ok(-d "$tempdir/tbackup/tblspc1", 'tablespace was relocated');
+TODO: {
+	local $TODO = 'symlinks >99 chars not supported';
 opendir(my $dh, "$tempdir/pgdata/pg_tblspc") or die;
 ok( (   grep
 		{
@@ -77,6 +79,7 @@
 		  } readdir($dh)),
 	"tablespace symlink was updated");
 closedir $dh;
+}
 
 mkdir "$tempdir/tbl=spc2";
 psql 'postgres', "DROP TABLE test1;";
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to