summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-07-12 13:36:09 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-07-12 13:36:09 (GMT)
commit7ede5355ba21849fa3a8cfcaa8d8d32825a7d53b (patch)
treee6b9dd03456ecc513fd9351e31c9aee3b4f8f280 /tests/unixInit.test
parent70cdccb08c6d52be6add914db5844c25c9b92f0a (diff)
downloadtcl-7ede5355ba21849fa3a8cfcaa8d8d32825a7d53b.zip
tcl-7ede5355ba21849fa3a8cfcaa8d8d32825a7d53b.tar.gz
tcl-7ede5355ba21849fa3a8cfcaa8d8d32825a7d53b.tar.bz2
Got test unixInit-2.8 to stop wiping out parts of my debug installation by
adding an extra constraint.
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index d6c9665..ec54099 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -10,13 +10,15 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: unixInit.test,v 1.19 2001/07/03 16:53:33 dgp Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.20 2001/07/12 13:36:09 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
namespace import -force ::tcltest::*
}
+set ::tcltest::testConstraints(notInstalledInTmp) \
+ [string match /tmp/lib/* [info library]]
if {[info exists env(TCL_LIBRARY)]} {
set oldlibrary $env(TCL_LIBRARY)
unset env(TCL_LIBRARY)
@@ -201,7 +203,7 @@ test unixInit-2.7 {TclpInitLibraryPath: compiled-in library path} \
# would need test command to get defaultLibDir and compare it to
# [lindex $auto_path end]
} {}
-test unixInit-2.8 {TclpInitLibraryPath: all absolute pathtype} {unixOnly} {
+test unixInit-2.8 {TclpInitLibraryPath: all absolute pathtype} {unixOnly notInstalledInTmp} {
# Checking for Bug 219416
# When a program that embeds the Tcl library, like tcltest, is
# installed near the "root" of the file system, there was a problem