summaryrefslogtreecommitdiffstats
path: root/tests/winFCmd.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-11-13 12:52:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-11-13 12:52:29 (GMT)
commit88c3379dd281e3efc6f1c961ff6cce618972065c (patch)
tree6991b42a7a4950b4cecef57887be735fa5860da6 /tests/winFCmd.test
parentc3c06423586daccaeba84d4aacf23f375121434c (diff)
parentb7b8194d8178e6ed5b12f5b2ea3eef30bb132c99 (diff)
downloadtcl-88c3379dd281e3efc6f1c961ff6cce618972065c.zip
tcl-88c3379dd281e3efc6f1c961ff6cce618972065c.tar.gz
tcl-88c3379dd281e3efc6f1c961ff6cce618972065c.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.test13
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} {