Tcl Source Code

Check-in [0049270a8b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [219158]: fCmd-9.4 relied on rename() of a read-only directory succeeding, which POSIX does not require (OpenBSD, macOS 10.5 refuse it). Split it into a writable directory test (no constraints) and read-only directory tests for both behaviours, with a new constraint renameNeedsDirWrite in place of darwin9. Fix [300724b80c]: restore the definition of notWine, lost in [c2dc6753fa] in 2020: since then the 19 tests that use it were skipped everywhere. Remove constraints that tests do not need: unix from fCmd-6.9, 8.1, 8.2, 18.6, 20.2, 21.7.1, 21.8.1 and 22.2, and notWine from fCmd-5.5, 6.16, 6.17, 6.18, 9.5, 9.9, 9.13, 9.14 and 10.4 (checked on Windows and Wine). fCmd-9.7 is temporarily unix-only: since TIP 744, renaming onto a read-only file fails on Windows [25a127ccbd].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | fCmd-test-constraints
Files: files | file ages | folders
SHA3-256: 0049270a8bdb077991905a53aeaba359ac930d4c95af4cce5af0dc56638f0c29
User & Date: serhiy.storchaka 2026-10-12 11:11:41.171
Original Comment: Fix [219158]: fCmd-9.4 relied on rename() of a read-only directory succeeding, which POSIX does not require (OpenBSD, macOS 10.5 refuse it). Split it into a writable directory test (no constraints) and read-only directory tests for both behaviours, with a new constraint renameNeedsDirWrite in place of darwin9. Restore the definition of notWine, lost in [c2dc6753fa] in 2020: since then the 19 tests that use it were skipped everywhere. Remove constraints that tests do not need: unix from fCmd-6.9, 8.1, 8.2, 18.6, 20.2, 21.7.1, 21.8.1 and 22.2, and notWine from fCmd-5.5, 6.16, 6.17, 6.18, 9.5, 9.9, 9.13, 9.14 and 10.4 (checked on Windows and Wine). fCmd-9.7 is temporarily unix-only: since TIP 744, renaming onto a read-only file fails on Windows.
Context
2026-10-29
09:45
Rebase fCmd-test-constraints to main. Fix [219158], [300724b80c] and [852a17eeb9]: fCmd.test constra... check-in: e373a1adc9 user: serhiy.storchaka tags: fCmd-test-constraints
2026-10-12
11:28
Fix [852a17eeb9]: fCmd-30.3 assumed a page file at $env(SystemDrive)/pagefile.sys. Take the page fil... check-in: 5f4b9afba3 user: serhiy.storchaka tags: fCmd-test-constraints
11:11
Fix [219158]: fCmd-9.4 relied on rename() of a read-only directory succeeding, which POSIX does not ... check-in: 0049270a8b user: serhiy.storchaka tags: fCmd-test-constraints
2026-10-11
21:06
Fix [3595762fff]: lsearch -regexp released the pattern when matching failed check-in: cd129688d2 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/fCmd.test.