pg_basebackup -F t now succeeds with a long symlink target

This commit is contained in:
Andrew Dunstan 2015-05-12 13:09:34 -04:00
parent ea12b3ca8c
commit 97e0aa6979

View File

@ -127,6 +127,6 @@ command_fails(
mkdir "$tempdir/$superlongname";
psql 'postgres', "CREATE TABLESPACE tblspc3 LOCATION '$tempdir/$superlongname';";
command_fails([ 'pg_basebackup', '-D', "$tempdir/tarbackup_l3", '-Ft' ],
'pg_basebackup tar with long symlink target fails');
command_ok([ 'pg_basebackup', '-D', "$tempdir/tarbackup_l3", '-Ft' ],
'pg_basebackup tar with long symlink target');
psql 'postgres', "DROP TABLESPACE tblspc3;";