Tcl Source Code

Check-in [247c77fb0f]
Login

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

Overview
Comment:use backslash and braces in regexp
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: 247c77fb0fc05627d10cf5c8e43fb38badff0cba
User & Date: jan.nijtmans 2012-07-23 14:45:19
Context
2012-07-24
20:14
Preserve the chanPtr so that script evaluation cannot invalidate it when we plan to use it again. check-in: 14f2ba0d03 user: dgp tags: core-8-5-branch
12:58
merge 8.5 check-in: cd3b9d4d0e user: dgp tags: core-8-5-12-rc
2012-07-23
14:46
merge-mark check-in: 86fd7c9f28 user: jan.nijtmans tags: trunk
14:45
use backslash and braces in regexp check-in: 247c77fb0f user: jan.nijtmans tags: core-8-5-branch
14:20
Bug #3547593: fcmd test failures on Windows 7 WOW64 check-in: 8eed2203b6 user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/winFCmd.test.

707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
    testfile cpdir td1 td2
    contents td2/tf1
} {tf1}
test winFCmd-7.14 {TraverseWinTree: append \ to target if necessary} -constraints {win testfile} -body {
    cleanup
    file mkdir td1
    list [catch {testfile cpdir td1 /} msg] $msg
} -match regexp -result {1 {/ EEXIST|EACCES}}
test winFCmd-7.16 {TraverseWinTree: recurse on files: no files} {win testfile} {
    cleanup
    file mkdir td1
    testfile cpdir td1 td2
} {}
test winFCmd-7.17 {TraverseWinTree: recurse on files: one file} {win testfile} {
    cleanup







|







707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
    testfile cpdir td1 td2
    contents td2/tf1
} {tf1}
test winFCmd-7.14 {TraverseWinTree: append \ to target if necessary} -constraints {win testfile} -body {
    cleanup
    file mkdir td1
    list [catch {testfile cpdir td1 /} msg] $msg
} -match regexp -result {1 \{/ (EEXIST|EACCES)\}}
test winFCmd-7.16 {TraverseWinTree: recurse on files: no files} {win testfile} {
    cleanup
    file mkdir td1
    testfile cpdir td1 td2
} {}
test winFCmd-7.17 {TraverseWinTree: recurse on files: one file} {win testfile} {
    cleanup