tart/Tests/TartTests
Dal Rupnik 2fb91b61cb fix(drop): propagate directory-read failures during drop copy
`copyTree`/`copyInto` treated `contentsOfDirectory` errors as an empty
listing (`try? … ?? []`), so a permission/I/O failure inside a dropped
folder was silently ignored and the drop reported success — producing an
incomplete copy in the guest with no warning (data-lossy for users who
expect the whole folder to transfer).

Let the read error propagate instead. copyTree's do/catch already removes
the partial `dst` and rethrows, so an unreadable subtree now aborts the
drop and cleans up rather than half-completing.

Adds a regression test covering an unreadable nested directory.
2026-06-08 09:29:12 +02:00
..
Util Docker-related fixes (#1221) 2026-04-09 21:00:36 -07:00
DigestTests.swift Support pulling/pushing VMs to OCI-compatible registries (#32) 2022-05-03 14:30:26 -04:00
DirectoryShareTests.swift fix: harden drag-and-drop against the edge-case report 2026-05-20 10:15:08 +02:00
DiskImageFormatTests.swift ASIF is available only starting from macOS 26 (Tahoe) (#1096) 2025-09-14 09:40:06 -04:00
DiskutilTests.swift Refactor "diskutil create" and "diskutil info" into a separate class (#1172) 2026-01-22 13:00:27 +01:00
DockerConfigTests.swift Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
DropCancellationTokenTests.swift feat: live byte progress and best-effort cancel for file-promise drops 2026-05-20 10:15:08 +02:00
DropGeometryTests.swift feat: scaffold guest-side drop synthesis (host plumbing only) 2026-05-20 10:15:08 +02:00
DropProgressCopierTests.swift fix(drop): propagate directory-read failures during drop copy 2026-06-08 09:29:12 +02:00
FileLockTests.swift Reformat code idents and introduce the SwiftFormat linter (#339) 2022-11-29 15:56:13 +00:00
GuestDropParseTests.swift fix: harden drag-and-drop against the edge-case report 2026-05-20 10:15:08 +02:00
LayerizerTests.swift Move brew completions to post_install (#1227) 2026-04-11 22:26:52 -04:00
LeaseTest.swift MAC address resolver: skip expired leases (#669) 2023-11-27 10:12:36 -05:00
LeasesTests.swift DHCP MAC-address resolver: handle duplicate leases (#740) 2024-02-23 16:49:06 +04:00
MACAddressResolverTests.swift MAC address resolver: skip expired leases (#669) 2023-11-27 10:12:36 -05:00
RegistryTests.swift Move brew completions to post_install (#1227) 2026-04-11 22:26:52 -04:00
RemoteNameTests.swift Reformat code idents and introduce the SwiftFormat linter (#339) 2022-11-29 15:56:13 +00:00
TokenResponseTests.swift Fixed Swift Warning (#787) 2024-04-11 19:53:10 +04:00
URLAbsolutizationTests.swift Reformat code idents and introduce the SwiftFormat linter (#339) 2022-11-29 15:56:13 +00:00
URLAccessDateTests.swift Introduce "tart prune" command (#164) 2022-08-12 16:43:04 +03:00
VMConfigTests.swift tart set: support optional "pt" and "px" units for "--display" argument (#1155) 2025-10-21 21:35:42 -04:00
WWWAuthenticateTests.swift Support pulling/pushing VMs to OCI-compatible registries (#32) 2022-05-03 14:30:26 -04:00