Skip to content

Commit 7a12971

Browse files
author
Rodrigo OSORIO
committed
Extend testsuite/xattrs.test
First pach to extend xattr buffer makes rsync fail when copy files without xattr such as fifo. Extend the test to ensure new patch work as expected Use checktee instead of checkit because gnu diff fails comparing fifos.
1 parent 0c36bf2 commit 7a12971

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testsuite/xattrs.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,10 @@ checkit "$RSYNC -aiiX $XFILT . ../to" "$chkdir" "$todir"
259259
cd "$todir"
260260
xls file1 file2 | diff $diffopt "$scratchdir/xattrs.txt" -
261261

262+
cd "$fromdir"
263+
rm -rf "$todir"
264+
mkfifo fifo1
265+
checktee "$RSYNC -avX --specials $XFILT $dashH --super . '$chkdir/'" "$fromdir" "$chkdir"
266+
262267
# The script would have aborted on error, so getting here means we've won.
263268
exit 0

0 commit comments

Comments
 (0)