Tcl Source Code

View Ticket
Login
Ticket UUID: dd54ac53230086ce5d27566835573f917b7c00e3
Title: fileSystem.test: Set moreThanOneDrive constraint correctly
Type: Patch Version: 8.6.13
Submitter: chrstphrchvz Created on: 2023-09-15 14:36:34
Subsystem: 37. File System Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-09-21 12:23:59
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2023-09-21 12:23:59
Description:

See attached patch. Currently, if only one drive is accessible, then fileSystem-1.38 will fail on Windows:

==== filesystem-1.38 file normalisation with volume relative FAILED
==== Contents of test case:
set path "[string range [lindex $drives 0] 0 1]foo" cd [lindex $drives 1] file norm $path
---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't change working directory to "": no such file or directory while executing ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: POSIX ENOENT {no such file or directory} ==== filesystem-1.38 FAILED

User Comments: jan.nijtmans added on 2023-09-21 12:23:59:

Fixed [4bac62f615fec6b0|here]. Thanks!


jan.nijtmans added on 2023-09-21 12:23:41:
Fixed [4bac62f615fec6b0|here]. Thanks!

Attachments: