diff options
author | vincentdarley <vincentdarley@noemail.net> | 2005-01-17 13:04:27 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2005-01-17 13:04:27 (GMT) |
commit | 2339e8b7107891d917030a36811be819ed33ee4a (patch) | |
tree | aa24f867122359aac04dec63d52b605830f275d7 /tests/winFCmd.test | |
parent | 8ab6b5f09a69df36cb045f49d8d59e006be85a1d (diff) | |
download | tcl-2339e8b7107891d917030a36811be819ed33ee4a.zip tcl-2339e8b7107891d917030a36811be819ed33ee4a.tar.gz tcl-2339e8b7107891d917030a36811be819ed33ee4a.tar.bz2 |
fix to drive-sensitivity of test
FossilOrigin-Name: 25bdad12b28e5f16b8b608f2f6f4b6deccff61d3
Diffstat (limited to 'tests/winFCmd.test')
-rw-r--r-- | tests/winFCmd.test | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test index a8a05c4..49bae98 100644 --- a/tests/winFCmd.test +++ b/tests/winFCmd.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: winFCmd.test,v 1.20.2.5 2004/05/25 19:02:28 kennykb Exp $ +# RCS: @(#) $Id: winFCmd.test,v 1.20.2.6 2005/01/17 13:04:44 vincentdarley Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -592,8 +592,10 @@ test winFCmd-6.11 {TclpRemoveDirectory: attr == -1} {pcOnly nt} { set res [list [catch {testfile rmdir /} msg] $msg] # WinXP returns EEXIST, WinNT seems to return EACCES. No policy # decision has been made as to which is correct. - regsub {E(ACCES|EXIST)} $res "EACCES or EEXIST" -} {1 {C:/ EACCES or EEXIST}} + regsub {E(ACCES|EXIST)} $res "EACCES or EEXIST" res + # Don't mind which drive we're on + regsub {[A-Z]:} $res "" +} {1 {/ EACCES or EEXIST}} test winFCmd-6.12 {TclpRemoveDirectory: errno == EACCES} {pcOnly 95} { cleanup createfile tf1 |