summaryrefslogtreecommitdiffstats
path: root/tests/winConsole.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-11 11:24:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-11 11:24:10 (GMT)
commitb88529b2f5c7184710ca00b133bccd5660daf989 (patch)
tree22952d82295178fbdd6a5b58ba31692bc9ecceb5 /tests/winConsole.test
parent4a38609129a5103a58655c4f4789012c1144f5c7 (diff)
downloadtcl-b88529b2f5c7184710ca00b133bccd5660daf989.zip
tcl-b88529b2f5c7184710ca00b133bccd5660daf989.tar.gz
tcl-b88529b2f5c7184710ca00b133bccd5660daf989.tar.bz2
Add "win" constraints to tests/winConsole.test, and change one expected test-results on Windows
Diffstat (limited to 'tests/winConsole.test')
-rw-r--r--tests/winConsole.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/winConsole.test b/tests/winConsole.test
index d008d5c..a9d9b09 100644
--- a/tests/winConsole.test
+++ b/tests/winConsole.test
@@ -187,7 +187,7 @@ test console-fconfigure-get-1.[incr testnum] {
test console-fconfigure-get-1.[incr testnum] {
fconfigure -winsize
-} -body {
+} -constraints win -body {
fconfigure stdin -winsize
} -result {bad option "-winsize": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -inputmode} -returnCodes error
@@ -221,9 +221,9 @@ foreach chan {stdout stderr} major {2 3} {
test console-fconfigure-get-$major.[incr testnum] {
fconfigure -inputmode
- } -body {
+ } -constraints win -body {
fconfigure $chan -inputmode
- } -result {bad option "-inputmode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -winsize} -returnCodes error
+ } -result {bad option "-inputmode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation} -returnCodes error
}
@@ -291,7 +291,7 @@ test console-fconfigure-set-1.2 {
test console-fconfigure-set-1.3 {
fconfigure stdin -winsize
-} -body {
+} -constraints win -body {
fconfigure stdin -winsize {10 30}
} -result {bad option "-winsize": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -inputmode} -returnCodes error