Skip to content

Commit ac9401b

Browse files
committed
ts: fix fail cmd arg default value in 30/310
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent f8f2a59 commit ac9401b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testsuite/modules.70-maint/310-sh-to-mod.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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

0 commit comments

Comments
 (0)