diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-05-01 15:16:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-05-01 15:16:37 (GMT) |
commit | ecc261fff02041b94a2ff589a0f7b7191a6cf975 (patch) | |
tree | caab1eb18613bb672c08214eab97c65743f7587e /tests/winFile.test | |
parent | 1f6f16eb0acd800c01eb3eb44390f314983b353f (diff) | |
parent | 09c394df7d97291aecb28a07a6c5de3f0814a341 (diff) | |
download | tcl-ecc261fff02041b94a2ff589a0f7b7191a6cf975.zip tcl-ecc261fff02041b94a2ff589a0f7b7191a6cf975.tar.gz tcl-ecc261fff02041b94a2ff589a0f7b7191a6cf975.tar.bz2 |
merge trunk
Diffstat (limited to 'tests/winFile.test')
-rw-r--r-- | tests/winFile.test | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/winFile.test b/tests/winFile.test index fba9bcb..2c47f5f 100644 --- a/tests/winFile.test +++ b/tests/winFile.test @@ -37,24 +37,6 @@ test winFile-1.2 {TclpGetUserHome} -constraints {win nt nonPortable} -body { # The administrator account should always exist. glob ~administrator } -match glob -result * -test winFile-1.3 {TclpGetUserHome} -constraints {win 95} -body { - # Find some user in system.ini and then see if they have a home. - - set f [open $::env(windir)/system.ini] - while {[gets $f line] >= 0} { - if {$line ne {[Password Lists]}} { - continue - } - gets $f - set name [lindex [split [gets $f] =] 0] - if {$name ne ""} { - return [catch {glob ~$name}] - } - } - return 0 ;# didn't find anything... -} -cleanup { - catch {close $f} -} -result {0} test winFile-1.4 {TclpGetUserHome} {win nt nonPortable} { catch {glob ~stanton@workgroup} } {0} |