File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
testsuite/modules.70-maint Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020#
2121##############################################################################
2222
23- proc testouterr_shtomod {sh cmdline out err {script {}}} {
23+ proc testouterr_shtomod {sh cmdline out err {script {}} {xfail {}} } {
2424 if {$sh eq {ALL}} {
2525 set shlist $::shtomod_avail_shells
2626 } else {
@@ -35,7 +35,7 @@ proc testouterr_shtomod {sh cmdline out err {script {}}} {
3535 set shscript $::testscript($sh)
3636 }
3737 set tserr [string map [list {<SHELL>} $sh {<SCRIPTSH>} $shscript] $err]
38- testouterr_cmd sh "sh-to-mod $sh $shscript$cmdline" $out $tserr
38+ testouterr_cmd sh "sh-to-mod $sh $shscript$cmdline" $out $tserr $xfail
3939 }
4040}
4141
@@ -809,12 +809,14 @@ if {$is_modules_defined} {
809809 set extratserr {}
810810}
811811if {$is_modules_defined_fish && $os_name ne {cygwin}} {
812+ set xfail_fish {xfail}
812813 set extratserr_fish "\nunset-function\tml\nunset-function\tmodule"
813814 if {$is_mogui_defined} {
814815 append extratserr_fish "\nunset-function\tmogui"
815816 }
816817 append extratserr_fish "\nunsetenv\tMODULESHOME"
817818} else {
819+ set xfail_fish {}
818820 set extratserr_fish {}
819821}
820822
@@ -836,7 +838,7 @@ foreach sh $shtomod_avail_shells {
836838 } elseif {$sh ne {fish}} {
837839 testouterr_shtomod $sh {} OK $tserr
838840 } elseif {$sh eq {fish} && $fish_version_ge31} {
839- testouterr_shtomod $sh {} OK $tserr$extratserr_fish
841+ testouterr_shtomod $sh {} OK $tserr$extratserr_fish {} $xfail_fish
840842 }
841843}
842844
You can’t perform that action at this time.
0 commit comments