Skip to content

Commit 16f4918

Browse files
committed
ts: fix 70/361 for MSYS run with failing term size guess
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 32cc697 commit 16f4918

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testsuite/modules.70-maint/361-list_output.exp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ if {[cmpversion $tclsh_version 8.6] == -1} {
128128
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr {Unsupported option '-o' on long output mode} {module list -o sym -l} $mp/output/1.0 22]]
129129

130130
setenv_var TESTSUITE_OUTPUT_INMODFILE 22
131-
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on list sub-command\nAllowed elements are: header idx variant alias indesym sym tag hidden key (separated by ':')" {module list --output=modulepath} $mp/output/1.0 26]]
131+
# terminal column size not correctly detected on MSYS2 CI environment
132+
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on list sub-command\nAllowed elements are: header idx variant alias indesym sym tag hidden key (separated by ':')" {module list --output=modulepath} $mp/output/1.0 26]] [expr {$os_name eq {msys} ? {xfail} : {}}]
132133
setenv_var TESTSUITE_OUTPUT_INMODFILE 23
133-
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on list sub-command\nAllowed elements are: header idx variant alias indesym sym tag hidden key (separated by ':')" {module list -o sym,alias} $mp/output/1.0 27]]
134+
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on list sub-command\nAllowed elements are: header idx variant alias indesym sym tag hidden key (separated by ':')" {module list -o sym,alias} $mp/output/1.0 27]] [expr {$os_name eq {msys} ? {xfail} : {}}]
134135

135136
}
136137

0 commit comments

Comments
 (0)