Overview
| Artifact ID: | 83aab5f166f8ab68aafd38e55a00c03c28215e46 |
|---|---|
| Ticket: | 3547593fffffffffffffffffffffffffffffffff
fcmd test failures on Windows |
| User & Date: | twylite on 2012-07-23 12:26:48 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, I've just done a pull/update to core-8-5-12-rc and built a 32-bit Tcl using MSVC10 on Windows 7 64-bit. Running the test suite brings up the following failing tests: ===== fCmd.test Test file error: can't read "tmpspace": no such variable while executing "file join $tmpspace tf1" invoked from within "test fCmd-6.19 {CopyRenameOneFile: errno == EXDEV} {xdev notRoot} { cleanup $tmpspace createfile tf1 file rename tf1 $tmpspace glob -n..." (file "C:/User/Tcl_BUILD/cmake-2012/tcl/tests/fCmd.test" line 557) ==== filesystem-1.3 link normalisation FAILED ==== filesystem-1.4 link normalisation FAILED Twylite: (both covered by #3545366 and #3075027) ==== winFCmd-2.8.1 TclpCopyFile: errno: EACCES FAILED ==== Contents of test case: cleanup list [catch {testfile cp nul tf1} msg] $msg ---- Result was: 1 EINVAL ---- Result should have been (exact matching): 1 EACCES ==== winFCmd-2.8.1 FAILED Twylite: 2.8.1 is meant for winOlderThan2000. I'm running on Windows 7. Platform detection logic appears to be incorrect. ==== winFCmd-6.1 TclpRemoveDirectory: errno: EACCES FAILED ==== Contents of test case: cleanup file mkdir td1 testchmod 000 td1 catch { testfile rmdir td1 file exists td1 } r catch { testchmod 777 td1 cleanup } set r ---- Result was: td1 EACCES ---- Result should have been (exact matching): 0 ==== winFCmd-6.1 FAILED Twylite: the testchmod 000 appears to make rmdir fail (EACCES). The subsequent testchmod 777 allows td1 to be removed. Not sure why the test is expecting 0. ==== winFCmd-6.9 TclpRemoveDirectory: errno == EACCES FAILED ==== Contents of test case: cleanup file mkdir td1 testchmod 000 td1 catch { testfile rmdir td1 file exists td1 } r catch { testchmod 777 td1 cleanup } set r ---- Result was: td1 EACCES ---- Result should have been (exact matching): 0 ==== winFCmd-6.9 FAILED Twylite: as for winFCmd-6.1. ==== winFCmd-6.13 TclpRemoveDirectory: write-protected FAILED ==== Contents of test case: cleanup file mkdir td1 testchmod 000 td1 catch { testfile rmdir td1 file exists td1 } r catch { testchmod 777 td1 cleanup } set r ---- Result was: td1 EACCES ---- Result should have been (exact matching): 0 ==== winFCmd-6.13 FAILED Twylite: as for winFCmd-6.1. ==== winFCmd-7.15 TraverseWinTree: append \ to target if necessary FAILED ==== Contents of test case: cleanup file mkdir td1 list [catch {testfile cpdir td1 /} msg] $msg ---- Result was: 1 {/ EEXIST} ---- Result should have been (exact matching): 1 {/ EACCES} ==== winFCmd-7.15 FAILED Twylite: looks like Windows 7 produces a different error code. ==== winFCmd-9.3 TraversalDelete: DOTREE_PRED FAILED ==== Contents of test case: cleanup file mkdir td1/td2 testchmod 000 td1 catch { testfile rmdir -force td1 file exists td1 } r catch { testchmod 777 td1 cleanup } set r ---- Result was: td1 EACCES ---- Result should have been (exact matching): 0 ==== winFCmd-9.3 FAILED Twylite: as for winFCmd-6.1. - foundin changed to: "obsolete: 8.5.12"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "twylite"
- subsystem changed to: "37. File System"
- title changed to: "fcmd test failures on Windows"
- type changed to: "Bug"