summaryrefslogtreecommitdiffstats
path: root/tests/fCmd.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-04-14 15:45:44 (GMT)
committervincentdarley <vincentdarley>2003-04-14 15:45:44 (GMT)
commitfc8ca7b64060c121189509c2a390627088bf2f85 (patch)
tree74444b936f24402204e38c25adc44d99449c4a26 /tests/fCmd.test
parentb0cc421ee0a6c1691d7db034c52ae9fcb5295627 (diff)
downloadtcl-fc8ca7b64060c121189509c2a390627088bf2f85.zip
tcl-fc8ca7b64060c121189509c2a390627088bf2f85.tar.gz
tcl-fc8ca7b64060c121189509c2a390627088bf2f85.tar.bz2
filesystem fixes backported
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r--tests/fCmd.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test
index e3bec24..c704032 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: fCmd.test,v 1.26 2003/02/12 19:18:13 vincentdarley Exp $
+# RCS: @(#) $Id: fCmd.test,v 1.26.2.1 2003/04/14 15:45:54 vincentdarley Exp $
#
if {[lsearch [namespace children] ::tcltest] == -1} {
@@ -673,6 +673,11 @@ test fCmd-8.2 {FileBasename: basename of ~user: argc == 1 && *path == ~} \
{unixOnly notRoot} {
file tail ~$user
} "$user"
+test fCmd-8.3 {file copy and path translation: ensure correct error} {
+ list [catch {file copy ~ [file join this file doesnt exist]} res] $res
+} [list 1 \
+ "error copying \"~\" to \"[file join this file doesnt exist]\":\
+ no such file or directory"]
test fCmd-9.1 {file rename: comprehensive: EACCES} {unixOnly notRoot} {
cleanup