8a85c2ef7c
smb_server_backend.rs tests (+135 lines): - Full VfsHandle lifecycle: file create/write/read/flush/close, stat, truncate (zero + extend), set_times, list_dir error, write past end - Directory: create/stat/list/close, contains-created-file, read/write/truncate error cases - All OpenIntent variants: Create (new + existing fail), OpenOrCreate (new + existing), OverwriteOrCreate (new + truncate existing), Truncate (existing + nonexistent fail) - Directory OpenIntent: Create (new + existing fail), Open (existing), OpenOrCreate (new + existing) - non_directory flag on dir (IsDirectory), directory flag on file (NotADirectory) - Unlink: file, directory, nonexistent (NotFound) - Rename: success + content preserved, nonexistent source (NotFound), existing target (Exists) - Error mapping: all 8 VfsError variants (adds Unsupported, UnexpectedEof) - FILETIME: roundtrip, below-offset returns epoch, exactly-offset - vfs_stat_to_file_info: custom name, dir name from path, alloc_size smb_fs.rs tests (+40 lines): - Error mapping: NotFound, AlreadyExists, AccessDenied, IsADirectory, NotADirectory, DiskFull, SharingViolation, ConnectionLost, TimedOut, SessionExpired, InvalidData, Auth, Io, Cancelled - Filetime: conversion, below-epoch, exact epoch boundary - Path: leading slash stripping, root, deep paths - Rejects trailing backslash