WIP 시험: 177 비교에 28 이 실제 실행으로 더 확인한 6개 (--del · --delete-after · **/x/ 등, 대상에만 있는 old2/ 안의 거른 것) (검토 대기)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
next3
RyuJongJin 2026-10-19 21:50:02 +09:00
parent 09fbe0337a
commit 86a994690b
1 changed files with 8 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void main() {
..writeAsStringSync('s:$r');
}
for (final r in ['extra.txt', 'keep.log', 'build/old.o', 'old/keep.log', 'old/gone.txt', 'sub/deep/z.txt', 'tmp/old.txt',
'onlydst/a.bak']) {
'onlydst/a.bak', 'old2/deep/x/keep.log', 'old2/deep/x/g.txt', 'old2/deep/y/h.txt', 'old2/e.txt']) {
File(p.join(d, r))
..createSync(recursive: true)
..writeAsStringSync('d:$r');
@ -241,6 +241,13 @@ void main() {
'-a --delete --include=sub/deep/d.txt --exclude=sub/deep/*',
'-a --delete --exclude=?.txt',
'-a --delete --exclude=*.TXT',
// 28 이 실제 실행으로 더 확인한 6개
'-a --delete --exclude=deep/',
'-a --delete --exclude=/old2/deep/x/keep.log',
'-a --del',
'-a --delete-after --exclude=*.log',
'-a --delete --exclude=**/x/',
'-a --delete --include=*.txt --exclude=*.log --exclude=*/',
].indexed) {
test('${i + 1}: $opts', () async {
if (!Platform.isWindows || !File(rsync).existsSync()) return markTestSkipped('앱에 든 rsync 가 없음');