diff options
author | dgp <dgp@users.sourceforge.net> | 2003-10-06 17:27:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-10-06 17:27:18 (GMT) |
commit | f472b81bc3a7304572259fbab58ac8e8b6753f82 (patch) | |
tree | d62fa2fc889c21f2c4f9e11df2c074a2bde85d1e /tests | |
parent | f3e5533fae2501f946d1edac36dd976ee7a571b8 (diff) | |
download | tcl-f472b81bc3a7304572259fbab58ac8e8b6753f82.zip tcl-f472b81bc3a7304572259fbab58ac8e8b6753f82.tar.gz tcl-f472b81bc3a7304572259fbab58ac8e8b6753f82.tar.bz2 |
* tests/fCmd.test (fCmd-8.2): Test only that tilde-substitution
happens, not for any particular result. [Bug 685991]
Diffstat (limited to 'tests')
-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 95da8d7..c942818 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.29 2003/06/23 10:14:02 vincentdarley Exp $ +# RCS: @(#) $Id: fCmd.test,v 1.30 2003/10/06 17:27:18 dgp Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -671,8 +671,8 @@ test fCmd-8.1 {FileBasename: basename of ~user: argc == 1 && *path == ~} \ } "1 {error renaming \"~$user\" to \"td1/[file tail ~$user]\": permission denied}" test fCmd-8.2 {FileBasename: basename of ~user: argc == 1 && *path == ~} \ {unixOnly notRoot} { - file tail ~$user -} "$user" + string equal [file tail ~$user] ~$user +} 0 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 \ |