Tcl Source Code

View Ticket
Login
Ticket UUID: 52f7abe82f1defe28d9f8f83b6c50971b0cfa154
Title: Test Failure - cmdAH-20.7.1 + cmdAH-24.14.1 + cmdAH-28.13.1 + cmdAH-29.6.1 - On MSYS builds of core-8-branch
Type: Bug Created on: 2017-11-07 17:08:38
Submitter: hypnotoad Assigned to: nobody
Subsystem: 16. Commands A-H Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:28
Status: Closed Closed by: serhiy.storchaka
Resolution: Fixed Closed on: 2026-10-21 08:46:00
Version: 84de05583b0631640bcb0f697345f4743c74da0b
Description:
Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] within MSYS on Windows 7 and running "make test" produces the following failed tests:


==== cmdAH-20.7.1 Tcl_FileObjCmd: atime (built-in Windows names with dir path and extension) FAILED
==== Contents of test case:

    file atime [file join [temporaryDirectory] CON.txt]

---- Result was:
could not read "O:/odie/irm-faceset/tcl/win/CON.txt": no such file or directory
---- Result should have been (exact matching):
could not get access time for file "O:/odie/irm-faceset/tcl/win/CON.txt"
==== cmdAH-20.7.1 FAILED



==== cmdAH-24.14.1 Tcl_FileObjCmd: mtime (built-in Windows names with dir path and extension) FAILED
==== Contents of test case:

    file mtime [file join [temporaryDirectory] CON.txt]

---- Result was:
could not read "O:/odie/irm-faceset/tcl/win/CON.txt": no such file or directory
---- Result should have been (exact matching):
could not get modification time for file "O:/odie/irm-faceset/tcl/win/CON.txt"
==== cmdAH-24.14.1 FAILED



==== cmdAH-27.4.1 Tcl_FileObjCmd: size (built-in Windows names with dir path and extension) FAILED
==== Contents of test case:

    file size [file join [temporaryDirectory] con.txt]

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: could not read "O:/odie/irm-faceset/tcl/win/con.txt": no such file or directory
    while executing
"file size [file join [temporaryDirectory] con.txt]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: POSIX ENOENT {no such file or directory}
==== cmdAH-27.4.1 FAILED



==== cmdAH-28.13.1 Tcl_FileObjCmd: stat (built-in Windows names) FAILED
==== Contents of test case:

    file stat [file join [temporaryDirectory] CON.txt] stat
    lmap elem {atime ctime dev gid ino mode mtime nlink size type uid} {set stat($elem)}

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: could not read "O:/odie/irm-faceset/tcl/win/CON.txt": no such file or directory
    while executing
"file stat [file join [temporaryDirectory] CON.txt] stat"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: POSIX ENOENT {no such file or directory}
==== cmdAH-28.13.1 FAILED



==== cmdAH-29.6.1 Tcl_FileObjCmd: type (built-in Windows names, with dir path and extension) FAILED
==== Contents of test case:

    file type [file join [temporaryDirectory] CON.txt]

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: could not read "O:/odie/irm-faceset/tcl/win/CON.txt": no such file or directory
    while executing
"file type [file join [temporaryDirectory] CON.txt]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: POSIX ENOENT {no such file or directory}
==== cmdAH-29.6.1 FAILED
User Comments:
serhiy.storchaka added on 2026-10-21 08:46:00:

Since [59a4bcc685] (2018, in 8.6.9) these tests accept the ENOENT result. On Windows 11 file atime/mtime/size/stat/type of <dir>/CON.txt give ENOENT, and cmdAH-20.7.1, 24.14.1, 27.4.1, 28.13.1 and 29.6.1 pass with 8.6.18 and 9.1. Closing.