aboutsummaryrefslogtreecommitdiff
path: root/tests/filecopy.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-12-15 11:01:51 +1000
committerSteve Bennett <steveb@workware.net.au>2011-12-16 13:10:13 +1000
commitd0ac7ddf7cd922aa4f9b691b6414c3c7f22b08f1 (patch)
tree5bb0e9a29afd1cf7d0c87f8feec592b65a946e3f /tests/filecopy.test
parent73d257c2f0389f860d7f8fe826feee89f56dfbbb (diff)
downloadjimtcl-d0ac7ddf7cd922aa4f9b691b6414c3c7f22b08f1.zip
jimtcl-d0ac7ddf7cd922aa4f9b691b6414c3c7f22b08f1.tar.gz
jimtcl-d0ac7ddf7cd922aa4f9b691b6414c3c7f22b08f1.tar.bz2
Fix some tests so they run on mingw
exec and pid tests
Diffstat (limited to 'tests/filecopy.test')
-rw-r--r--tests/filecopy.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/filecopy.test b/tests/filecopy.test
index 853649b..d64a2d9 100644
--- a/tests/filecopy.test
+++ b/tests/filecopy.test
@@ -55,9 +55,9 @@ test filecopy-2.3 "Source doesn't exist (-force)" {
list [catch {file copy -force missing tempfile} msg] $msg
} {1 {missing: No such file or directory}}
-test filecopy-2.4 "Can't write to target (-force)" {
- list [catch {file copy -force testio.in tempdir} msg] $msg
-} {1 {tempdir: Is a directory}}
+test filecopy-2.4 "Can't write to target (-force)" -body {
+ file copy -force testio.in tempdir
+} -returnCodes error -match glob -result {tempdir: *}
test filecopy-2.5 "Source doesn't exist and can't write to target (-force)" {
list [catch {file copy -force missing tempdir} msg] $msg