diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 13:30:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 13:30:21 (GMT) |
commit | 76801530639bfebb39fab98219ead45ee7957a75 (patch) | |
tree | 08a4ef8751ca07adb11e3df0d68b10fe29812994 /tests/fCmd.test | |
parent | 6a8c97bdf8f14ed848fdb877b3dad50ae36983d8 (diff) | |
parent | 62fea308478c8fb3e38594793d72d6dbd9569d19 (diff) | |
download | tcl-76801530639bfebb39fab98219ead45ee7957a75.zip tcl-76801530639bfebb39fab98219ead45ee7957a75.tar.gz tcl-76801530639bfebb39fab98219ead45ee7957a75.tar.bz2 |
Merge 8.6
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r-- | tests/fCmd.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test index a6e90a1..e8ed6f9 100644 --- a/tests/fCmd.test +++ b/tests/fCmd.test @@ -276,7 +276,7 @@ test fCmd-3.14 {FileCopyRename: FileBasename fails} -setup { } -result {user "_totally_bogus_user" doesn't exist} test fCmd-3.15 {FileCopyRename: source[0] == '\0'} -setup { cleanup -} -constraints {notRoot unixOrPc} -returnCodes error -body { +} -constraints {notRoot unixOrWin} -returnCodes error -body { file mkdir td1 file rename / td1 } -result {error renaming "/" to "td1": file already exists} @@ -416,7 +416,7 @@ test fCmd-5.4 {TclFileDeleteCmd: multiple files} -constraints notRoot -setup { } -cleanup {cleanup} -result {1 1 1 0 0 0} test fCmd-5.5 {TclFileDeleteCmd: stop at first error} -setup { cleanup -} -constraints {notRoot unixOrPc} -body { +} -constraints {notRoot unixOrWin} -body { createfile tf1 createfile tf2 file mkdir td1 @@ -1116,7 +1116,7 @@ test fCmd-10.5 {file copy: comprehensive: dir to empty dir} -setup { } -result [subst {{td1 td2 tdd1 tdd2 tdd3 tdd4 tds1 tds2 tds3 tds4} {1 {error copying "td1" to "[file join td2 td1]": file already exists}} {1 {error copying "tds1" to "[file join tdd1 tds1]": file already exists}} 1 1 1}] test fCmd-10.6 {file copy: comprehensive: dir to non-empty dir} -setup { cleanup -} -constraints {notRoot unixOrPc testchmod} -body { +} -constraints {notRoot unixOrWin testchmod} -body { file mkdir tds1 file mkdir tds2 file mkdir [file join tdd1 tds1 xxx] |