github actions shows the following test failures but only for MacOS. Linux and Windows (both msvc and gcc) builds work fine. I don't have the means to debug on macos and visual inspection of the code does not show anything obvious.
Someone with a macos platform will need to take a look. For now disabling those tests for MacOS.
==== zipfs-mount-password-4 mount - verify uncompressed cipher readable with password FAILED
==== Contents of test case:
zipfs mount [zippath test-password.zip] $defaultMountPoint password
readbin [file join $defaultMountPoint cipher.bin]
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: invalid CRC
while executing
"open $path rb"
(procedure "readbin" line 2)
invoked from within
"readbin [file join $defaultMountPoint cipher.bin]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL ZIPFS CRC_FAILED
==== zipfs-mount-password-4 FAILED
==== zipfs-mount-password-5 mount - verify compressed cipher readable with password FAILED
==== Contents of test case:
zipfs mount [zippath test-password.zip] $defaultMountPoint password
readbin [file join $defaultMountPoint cipher-deflate.bin]
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: decompression error
while executing
"open $path rb"
(procedure "readbin" line 2)
invoked from within
"readbin [file join $defaultMountPoint cipher-deflate.bin]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL ZIPFS CORRUPT
==== zipfs-mount-password-5 FAILED
==== zipfs-password-read-cipher zipfs password read cipher FAILED
==== Contents of test case:
set fd [open [file join $defaultMountPoint $filename]]
gets $fd
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: invalid CRC
while executing
"open [file join $defaultMountPoint $filename]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL ZIPFS CRC_FAILED
==== zipfs-password-read-cipher FAILED
==== zipfs-password-read-cipher-deflate zipfs password read cipher-deflate FAILED
==== Contents of test case:
set fd [open [file join $defaultMountPoint $filename]]
gets $fd
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: decompression error
while executing
"open [file join $defaultMountPoint $filename]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL ZIPFS CORRUPT
==== zipfs-password-read-cipher-deflate FAILED