|
2026-08-18
| ||
| 17:58 | • Ticket [9d79d6b2f2] winFCmd tests use the wrong drive. status still Open wit... artifact: 3083fb9e0b user: pbrooks | |
| 03:46 | • Ticket [9d79d6b2f2]: 3 changes artifact: e0916982d0 user: apnadkarni | |
| 03:39 | • Ticket [9d79d6b2f2]: 3 changes artifact: 59e719fd6a user: apnadkarni | |
| 02:36 | • New ticket [9d79d6b2f2]. artifact: 30b2e4187f user: apnadkarni | |
winFCmd tests use the wrong drive.
Open9d79d6b2f270c68ba755c0a6e911d10263746cf8Created 107 days agoUpdated 106 days ago
Descriptionmarkdown2026-08-18 02:36:20
apnadkarniplain2026-08-18 03:39:02
The missing D: drive test failure is because the suite assume that the second drive on a two drive system is D:. That assumption has been around since 2008 or so. It has not failed before because no normalization test (until 9.1) actually tested the scenario of normalization of volume-relative paths on a different drive. Should be fixed by modifying the tests to not assume second drive is D:. The failure Phil sees *after* adding a D: drive is related to invoking the test suite from Powershell (as opposed to cmd). (Phil, please confirm running from cmd.exe does not exhibit the failure). The current directory tracking per drive depends on hidden environment variables set by cmd (but not by powershell). Not sure how to resolve this, or whether there is a solution. Will need further investigation.
apnadkarnimarkdown2026-08-18 03:46:42
Actually the underlying issue is seen by starting powershell from cmd (tcl not involved in any way). Below, the d: relative drive in cmd is D:\src\twapi\win but powershell does not see that because it uses a different internal tracking mechanism.
c:\src\tcltk\main\tcl\win>
c:\src\tcltk\main\tcl\win>d:
D:\src\twapi\win>c:
c:\src\tcltk\main\tcl\win>powershell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\src\tcltk\main\tcl\win> d:
PS D:\>
pbrooksplain2026-08-18 17:58:24
Yes, the second form of failure seems limited to when the test is invoked from PowerShell. Starting a cmd shell passes when a USB drive is added as the D: drive.
Log in (anonymous is fine) to add a comment.