summaryrefslogtreecommitdiffstats
path: root/tests/winPipe.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
commit8607752aa65f484ab844296ce90d2d2e5bfc2259 (patch)
tree645dfbaee93b71a5ba9a4458772d4b4719c83ae1 /tests/winPipe.test
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.zip
tcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.tar.gz
tcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.tar.bz2
Case-sensitive package names
Diffstat (limited to 'tests/winPipe.test')
-rw-r--r--tests/winPipe.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/winPipe.test b/tests/winPipe.test
index 919e336..9680dab 100644
--- a/tests/winPipe.test
+++ b/tests/winPipe.test
@@ -20,8 +20,8 @@ unset -nocomplain path
catch {
::tcltest::loadTestedCommands
- package require -exact Tcltest [info patchlevel]
- set ::tcltestlib [lindex [package ifneeded Tcltest [info patchlevel]] 1]
+ package require -exact tcl::test [info patchlevel]
+ set ::tcltestlib [lindex [package ifneeded tcl::test [info patchlevel]] 1]
}
set org_pwd [pwd]
@@ -203,7 +203,7 @@ test winpipe-4.1 {Tcl_WaitPid} {win exec cat32} {
test winpipe-4.2 {Tcl_WaitPid: return of exception codes, SIGFPE} {win exec testexcept notWine} {
set f [open "|[list [interpreter]]" w+]
set pid [pid $f]
- puts $f "load $::tcltestlib Tcltest"
+ puts $f "load $::tcltestlib tcl::test"
puts $f "testexcept float_underflow"
set status [catch {close $f}]
list $status [expr {$pid == [lindex $::errorCode 1]}] [lindex $::errorCode 2]
@@ -211,7 +211,7 @@ test winpipe-4.2 {Tcl_WaitPid: return of exception codes, SIGFPE} {win exec test
test winpipe-4.3 {Tcl_WaitPid: return of exception codes, SIGSEGV} {win exec testexcept notWine} {
set f [open "|[list [interpreter]]" w+]
set pid [pid $f]
- puts $f "load $::tcltestlib Tcltest"
+ puts $f "load $::tcltestlib tcl::test"
puts $f "testexcept access_violation"
set status [catch {close $f}]
list $status [expr {$pid == [lindex $::errorCode 1]}] [lindex $::errorCode 2]
@@ -219,7 +219,7 @@ test winpipe-4.3 {Tcl_WaitPid: return of exception codes, SIGSEGV} {win exec tes
test winpipe-4.4 {Tcl_WaitPid: return of exception codes, SIGILL} {win exec testexcept notWine} {
set f [open "|[list [interpreter]]" w+]
set pid [pid $f]
- puts $f "load $::tcltestlib Tcltest"
+ puts $f "load $::tcltestlib tcl::test"
puts $f "testexcept illegal_instruction"
set status [catch {close $f}]
list $status [expr {$pid == [lindex $::errorCode 1]}] [lindex $::errorCode 2]
@@ -227,7 +227,7 @@ test winpipe-4.4 {Tcl_WaitPid: return of exception codes, SIGILL} {win exec test
test winpipe-4.5 {Tcl_WaitPid: return of exception codes, SIGINT} {win exec testexcept notWine} {
set f [open "|[list [interpreter]]" w+]
set pid [pid $f]
- puts $f "load $::tcltestlib Tcltest"
+ puts $f "load $::tcltestlib tcl::test"
puts $f "testexcept ctrl+c"
set status [catch {close $f}]
list $status [expr {$pid == [lindex $::errorCode 1]}] [lindex $::errorCode 2]