File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testsuite/modules.70-maint Expand file tree Collapse file tree 1 file changed +3
-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 {}} {xfail { }}} {
23+ proc testouterr_shtomod {sh cmdline out err {script {}} {failcmd {fail }}} {
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 {}} {xfail {}}} {
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 $xfail
38+ testouterr_cmd sh "sh-to-mod $sh $shscript$cmdline" $out $tserr $failcmd
3939 }
4040}
4141
@@ -816,7 +816,7 @@ if {$is_modules_defined_fish && $os_name ne {cygwin}} {
816816 }
817817 append extratserr_fish "\nunsetenv\tMODULESHOME"
818818} else {
819- set xfail_fish {}
819+ set xfail_fish {fail }
820820 set extratserr_fish {}
821821}
822822
You can’t perform that action at this time.
0 commit comments