diff options
Diffstat (limited to 'tests/fixtures.sh')
| -rwxr-xr-x | tests/fixtures.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/fixtures.sh b/tests/fixtures.sh index d9d8b2b..4e794db 100755 --- a/tests/fixtures.sh +++ b/tests/fixtures.sh @@ -461,3 +461,13 @@ echo keep > /fixtures/filtered-parent/sub/keep echo garbage > /fixtures/filtered-parent/sub/garbage ln -s filtered-parent /fixtures/filtered-parent-link chown -h nobody /fixtures/filtered-parent-link + +# filtered-name, filtered-name-link: like filtered, but the filter file is in +# a subdirectory whose name has a byte that rsync prints escaped in the C +# locale. +mkdir -p /fixtures/filtered-name/bär +printf -- '- garbage\n' > /fixtures/filtered-name/bär/.rsync-filter +echo keep > /fixtures/filtered-name/bär/keep +echo garbage > /fixtures/filtered-name/bär/garbage +ln -s filtered-name /fixtures/filtered-name-link +chown -h nobody /fixtures/filtered-name-link |
