diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-13 12:52:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-13 12:52:29 (GMT) |
commit | 99ee3e86d7609d5997af776b3df13a7f3e19c89c (patch) | |
tree | 6991b42a7a4950b4cecef57887be735fa5860da6 /tests/winFCmd.test | |
parent | 7d10d699c786fe96c4fc95e963108db3f674284a (diff) | |
parent | 3bbc2317b3c2fb91fe9afbe04708c7e15db60f55 (diff) | |
download | tcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.zip tcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.tar.gz tcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.tar.bz2 |
Improve documentation on the use of com ports (remove references to Windows 95, deprecate the use of postfix ':').
Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
Diffstat (limited to 'tests/winFCmd.test')
-rw-r--r-- | tests/winFCmd.test | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test index ab675d7..a808c82 100644 --- a/tests/winFCmd.test +++ b/tests/winFCmd.test @@ -1314,14 +1314,14 @@ test winFCmd-18.1.2 {Windows reserved path names} -constraints win -body { file pathtype com4 } -result "absolute" test winFCmd-18.1.3 {Windows reserved path names} -constraints win -body { - file pathtype com5 -} -result "relative" + file pathtype com9 +} -result "absolute" test winFCmd-18.1.4 {Windows reserved path names} -constraints win -body { file pathtype lpt3 } -result "absolute" test winFCmd-18.1.5 {Windows reserved path names} -constraints win -body { - file pathtype lpt4 -} -result "relative" + file pathtype lpt9 +} -result "absolute" test winFCmd-18.1.6 {Windows reserved path names} -constraints win -body { file pathtype nul } -result "absolute" @@ -1423,6 +1423,11 @@ test winFCmd-19.8 {Windows extended path names} -constraints nt -setup { catch {file delete $tmpfile} } -result [list 0 {} [list "tcl[pid].tmp "]] +test winFCmd-19.9 {Windows devices path names} -constraints nt -body { + file normalize //./com1 +} -result //./com1 + + # This block of code used to occur after the "return" call, so I'm # commenting it out and assuming that this code is still under construction. #foreach source {tef ted tnf tnd "" nul com1} { |