summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorstanton <stanton>1998-11-24 01:16:16 (GMT)
committerstanton <stanton>1998-11-24 01:16:16 (GMT)
commit21aa86543d6e0ee2be6f71c0ba9039863a1b01f0 (patch)
treee536f8c190bd5eae43a775312e784260a40d5f93 /tests
parent4224f721e4b48b25dd4b544aeee47f975237aa0f (diff)
downloadtcl-21aa86543d6e0ee2be6f71c0ba9039863a1b01f0.zip
tcl-21aa86543d6e0ee2be6f71c0ba9039863a1b01f0.tar.gz
tcl-21aa86543d6e0ee2be6f71c0ba9039863a1b01f0.tar.bz2
fixed broken non-portable tests
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdAH.test13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index d3c054f..bab5c48 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -9,11 +9,12 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: cmdAH.test,v 1.1.2.3 1998/10/21 20:40:07 stanton Exp $
+# RCS: @(#) $Id: cmdAH.test,v 1.1.2.4 1998/11/24 01:16:16 stanton Exp $
if {[string compare test [info procs test]] == 1} then {source defs}
global env
+set old [pwd]
catch {set platform [testgetplatform]}
test cmdAH-0.1 {Tcl_BreakObjCmd, errors} {
@@ -1378,9 +1379,9 @@ test cmdAH-28.10 {Tcl_FileObjCmd: stat} {pc nonPortable} {
# stat of root directory was failing.
# don't care about answer, just that test runs.
- file stat //bisque/tcl stat
- file stat //bisque/tcl/ stat
- file stat //bisque/tcl/. stat
+ file stat //pop/$env(USERNAME) stat
+ file stat //pop/$env(USERNAME)/ stat
+ file stat //pop/$env(USERNAME)/. stat
} {}
test cmdAH-28.11 {Tcl_FileObjCmd: stat} {pc nonPortable} {
# stat of network directory was returning id of current local drive.
@@ -1388,7 +1389,7 @@ test cmdAH-28.11 {Tcl_FileObjCmd: stat} {pc nonPortable} {
set old [pwd]
cd c:/
- file stat //bisque/tcl stat
+ file stat //pop/$env(USERNAME) stat
cd $old
expr {$stat(dev) == 2}
} 0
@@ -1461,5 +1462,7 @@ file delete -force dir.file
file delete gorp.file
file delete link.file
+cd $old
+
return