Skip to content

Commit b9abd69

Browse files
committed
Keep the renamed functional test socket within the macOS path bound
Use the descriptive socket filename inside the existing unique test-owned output directory. The actual checkout path is 102 characters rather than 108, within the macOS 104-character Unix socket limit. Keep every original entry-type and target-content assertion and joined cleanup. Validation: original real Unix socket test passed (1/1, zero skips), full strict Debug solution build passed with zero warnings/errors, format verification and governance passed. The complete local and Linux qualification is being repeated on this source checkpoint.
1 parent 7851f8b commit b9abd69

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎tests/KeyLoad.FunctionalTests/StorageRecovery/Cases/OfflineRegular/OfflineRegularFileEntryTypeTests.cs‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ await WithDirectoryAsync(async root =>
1717
var target = Path.Combine(root, "target.bin");
1818
var link = Path.Combine(root, "target.link");
1919
var directory = Path.Combine(root, "directory");
20-
var socketPath = Path.Combine(root, "local.socket");
20+
var socketPath = Path.Combine(root, "socket");
2121
byte[] targetBytes = [0x10, 0x00, 0x90];
2222
await File.WriteAllBytesAsync(target, targetBytes);
2323
File.CreateSymbolicLink(link, target);
@@ -48,6 +48,9 @@ private static async Task WithDirectoryAsync(Func<string, Task> action)
4848
{
4949
await action(root);
5050
}
51-
finally { Directory.Delete(root, recursive: true); }
51+
finally
52+
{
53+
Directory.Delete(root, recursive: true);
54+
}
5255
}
5356
}

0 commit comments

Comments
 (0)