clamav/unit_tests
Micah Snyder 9208d26b66
Windows: improved support for '/' path separators
The new Sigtool feature tests are failing on Windows because CMake is
providing the CVD_CERTS_DIR environment variable with '/' path separators.

My fix is to convert '/' to '\\' when converting paths to UNC paths.
I have also changed CMake to provide CVD_CERTS_DIR with native paths.

I also made a couple of fixes to the Sigtool tests because Windows wants
to make CRLF line endings in Python unless you write byte-strings and
Sigtool will get upset when making a diff if a signature file contains
CRLF line endings.
And putting Windows path separators into 'verify_output()' for the tests
gets confused because it is actually a regex string and the backslashes
mess it up.
2025-07-22 16:14:22 -04:00
..
clamscan Merge pull request #1482 from jhumlick/CLAM-2588-PDF-Urls 2025-05-31 18:57:00 -04:00
examples Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
input Merge pull request #1482 from jhumlick/CLAM-2588-PDF-Urls 2025-05-31 18:57:00 -04:00
check_bytecode.c Tests: remove dead code 2025-02-20 10:42:16 -05:00
check_clamav.c FIPS-compliant CVD signing and verification 2025-03-26 19:33:25 -04:00
check_clamav_skip.c bb12596: Fix build issue when libcheck missing 2020-08-24 15:11:07 -07:00
check_clamd.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_disasm.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_fpu_endian.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_htmlnorm.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_jsnorm.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_matchers.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_regex.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_str.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
check_uniq.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
checks.h CMake: Add CTest support to match Autotools checks 2021-02-25 11:41:26 -08:00
clamd_test.py Tests: Remove unecessary TCP options for non-Windows ClamD tests 2025-05-01 10:45:39 -04:00
CMakeLists.txt Windows: improved support for '/' path separators 2025-07-22 16:14:22 -04:00
freshclam_test.py Tests: Fix freshclam test race condition 2025-05-30 14:06:00 -04:00
libclamav_test.py Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
Run-GetLibs.ctest Test: fix check_clamd failure on Windows 2021-03-22 19:50:48 -07:00
sigtool_test.py Windows: improved support for '/' path separators 2025-07-22 16:14:22 -04:00
testcase.py FIPS-compliant CVD signing and verification 2025-03-26 19:33:25 -04:00
valgrind.supp Valgrind: Adjust statx suppressions 2024-04-09 10:35:22 -04:00