Commit 0221b98
authored
Fix macOS CI failures (#172)
* Fix macOS CI failures
1. Change `cd path;pwd` to `cd path && pwd` so pwd only runs if cd
succeeds. On macOS, the shell returns the current directory when
cd fails, causing incorrect --link-dest paths.
2. Add encoding="utf-8", errors="surrogateescape" when reading rsync
log files. Log files may contain non-UTF8 filenames which cause
UnicodeDecodeError on macOS.
* Re-fetch previous_dest after resume handler renames folder
* Skip PID check when it matches current process (allows re-entrancy)
* Add trailing newline to exclusion file in test (macOS rsync compatibility)
* Remove unnecessary PID re-entrancy check
* Remove re-fetch previous_dest (testing if needed)
* Add Python 3.13 and 3.14 to CI matrix1 parent 76363be commit 0221b98
File tree
3 files changed
+5
-5
lines changed- .github/workflows
- tests
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
0 commit comments