summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authorjenn <jenn>1999-10-19 18:08:35 (GMT)
committerjenn <jenn>1999-10-19 18:08:35 (GMT)
commit6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977 (patch)
tree69cab503a9d184acbb3fc80f69ff7bee4f2d7038 /tests/unixInit.test
parent92548c63db304c75eac148990b77793351783c2c (diff)
downloadtcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.zip
tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.tar.gz
tcl-6a4211168cd8e6e5bc8214bc4e2b4ac75f6fd977.tar.bz2
* tests/tcltest.test:
* doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842]
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 7073cc6..77a6bb4 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -10,7 +10,7 @@
# 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.10 1999/07/08 17:29:30 jenn Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.11 1999/10/19 18:08:44 jenn Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -27,7 +27,7 @@ set env(LANG) C
# Some tests will fail if they are run on a machine that doesn't have
# this Tcl version installed (as opposed to built) on it.
if {[catch {
- set f [open "|[list $::tcltest::tcltest]" w+]
+ set f [open "|[list $::tcltest::tcltest exit]" w+]
exec kill -PIPE [pid $f]
close $f
}]} {
@@ -35,6 +35,7 @@ if {[catch {
} else {
set ::tcltest::testConstraints(installedTcl) 1
}
+
test unixInit-1.1 {TclpInitPlatform: ignore SIGPIPE} {unixOnly installedTcl} {
set x {}