- Create test_utils.h with cross-platform utility functions: * test_mkdtemp() - Windows uses GetTempPath + _mkdir, Linux uses mkdtemp * test_unlink() - Windows _unlink, Linux unlink * test_rmdir() - Windows _rmdir, Linux rmdir - Update all test files to use test_utils.h - Replace arpa/inet.h and netinet/in.h with platform_compat.h - Replace unistd.h with conditional includes - Replace mkdtemp(), unlink(), rmdir() with test_* versions - Tests now build on both Linux and Windows - Note: Some integration tests may fail on Linux due to test environment
547 KiB
Executable File
547 KiB
Executable File