|
2025-11-08
| ||
| 23:17 | • Closed ticket [45bfbebe46]: After some TIP 716 changes, some tests will fail if ... artifact: 9a64775a63 user: jan.nijtmans | |
| 22:50 | Fix [45bfbebe]: some tests will fail if the system encoding is iso8859-1. Solution backported from 9... check-in: be9693d81e user: jan.nijtmans tags: core-8-6-branch | |
| 08:50 | • Ticket [45bfbebe46] After some TIP 716 changes, some tests will fail if the syst... artifact: 063e6ac7cd user: jan.nijtmans | |
| 03:27 | • Ticket [45bfbebe46]: 3 changes artifact: e695a39e85 user: apnadkarni | |
| 02:42 | • Ticket [45bfbebe46]: 3 changes artifact: 8a3165fdfe user: stu | |
| 02:41 | • New ticket [45bfbebe46]. artifact: 98303383b5 user: stu | |
After some TIP 716 changes, some tests will fail if the system encoding is iso8859-1
Closed / Fixed45bfbebe466090b51fbeaca24e36c686cb54511bCreated 1 year agoUpdated 1 year ago
Descriptionplain2025-11-08 02:41:35
Test failures on 8.6.17: cmdAH-16.2, cmdAH-16.3, cmdAH-17.2, cmdAH-17.3, and cmdAH-18.3: "no such file or directory". Tests fail if the system encoding is iso8859-1, and will pass if the system encoding is utf-8. This has to do with the creation of "gorpfile". If the system encoding is iso8859-1, then the filename on disk will have one byte from the \xF3, but the testchmod command seems to try to find a file with two bytes, probably utf-8 encoded. The changes are in this checkin: [87abac372cb137f7] (search for "gorp") Also contrast with this checkin: [b97afc09938eaa6d] Related to the change to testchmod in tclUnixTest.c: [8db993fea906a78e]
stu Ticket [45bfbebe46]: 3 changes
[History diff]2025-11-08 02:42:10
apnadkarniplain2025-11-08 03:27:56
TIP 716 targets 9.0.2 so should not have affected 8.6 at all. Will check to see how that could happen...
jan.nijtmanswiki2025-11-08 08:50:21
The problem is in TestchmodCmd() (tclUnixTest.c). It should translate the filename from UTF-8 to native, just as the Windows version does.
This has always been wrong, but because the testcase used ASCII in the past, no-one noticed.
jan.nijtmanswiki2025-11-08 23:17:29
Thanks! Fixed[here]
It turns out, the problem was already corrected in Tcl 9.0, so backported now.
Log in (anonymous is fine) to add a comment.