mirror of
https://github.com/envmodules/modules.git
synced 2026-05-30 00:12:31 +08:00
ts: adapt existing tests after pwsh introduction
This commit is contained in:
committed by
Xavier Delaruelle
parent
0a5324932f
commit
c93f642885
@@ -56,7 +56,7 @@ proc pager_test_case {modarg use asked cmd opts} {
|
||||
}
|
||||
lappend ans "DEBUG setConf: siteconfig set to '$siteconfig_filere'(\\nDEBUG sourceSiteConfig: Source site configuration \\($siteconfig_filere\\))?(\\nDEBUG setState: siteconfig_loaded set to '1')?"
|
||||
lappend ans "DEBUG setConf: locked_configs set to '$::install_lockedconfigs'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh'"
|
||||
lappend ans "DEBUG setState: shell set to 'sh'"
|
||||
lappend ans "DEBUG setState: subcmd set to ''"
|
||||
lappend ans "DEBUG setState: subcmd_args set to ''"
|
||||
@@ -296,7 +296,7 @@ lappend anserr "DEBUG setConf: siteconfig set to '$siteconfig_filere'"
|
||||
lappend anserr "DEBUG sourceSiteConfig: Source site configuration \\($siteconfig_filere\\)"
|
||||
lappend anserr "DEBUG setState: siteconfig_loaded set to '1'"
|
||||
lappend anserr "DEBUG setConf: locked_configs set to '$install_lockedconfigs'"
|
||||
lappend anserr "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'"
|
||||
lappend anserr "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh'"
|
||||
lappend anserr "DEBUG setState: shell set to 'sh'"
|
||||
lappend anserr "DEBUG setState: subcmd set to 'load'"
|
||||
lappend anserr "DEBUG setState: subcmd_args set to '$module'"
|
||||
|
||||
@@ -50,7 +50,7 @@ proc test_getSiteConfig {siteconfig isvalid islocked} {
|
||||
} elseif {!$islocked} {
|
||||
lappend ans "DEBUG setConf: extra_siteconfig set to '$getextrasiteconfigre'"
|
||||
}
|
||||
lappend ans "${siteconfigdbg}DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'"
|
||||
lappend ans "${siteconfigdbg}DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh'"
|
||||
lappend ans "DEBUG setState: shell set to 'sh'"
|
||||
lappend ans "DEBUG setState: subcmd set to ''"
|
||||
lappend ans "DEBUG setState: subcmd_args set to ''"
|
||||
@@ -93,7 +93,7 @@ lappend ans "DEBUG setConf: siteconfig set to '$siteconfig_filere'"
|
||||
lappend ans "DEBUG sourceSiteConfig: Source site configuration \\($siteconfig_filere\\)"
|
||||
lappend ans "DEBUG setState: siteconfig_loaded set to '1'"
|
||||
lappend ans "DEBUG setConf: locked_configs set to '$install_lockedconfigs'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh'"
|
||||
lappend ans "DEBUG setState: shell set to 'sh'"
|
||||
lappend ans "DEBUG setState: subcmd set to ''"
|
||||
lappend ans "DEBUG setState: subcmd_args set to ''"
|
||||
|
||||
@@ -44,7 +44,7 @@ if {[info exists tclextlib_file]} {
|
||||
lappend ans "DEBUG setConf: tcl_ext_lib set to '$tclextlib_file'"
|
||||
lappend ans "DEBUG setConf: siteconfig set to '$siteconfig_filere'(\\nDEBUG sourceSiteConfig: Source site configuration \\($siteconfig_filere\\))?(\\nDEBUG setState: siteconfig_loaded set to '1')?"
|
||||
lappend ans "DEBUG setConf: locked_configs set to '$install_lockedconfigs'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'"
|
||||
lappend ans "DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh'"
|
||||
lappend ans "DEBUG setState: shell set to 'sh'"
|
||||
lappend ans "DEBUG setState: subcmd set to ''"
|
||||
lappend ans "DEBUG setState: subcmd_args set to ''"
|
||||
|
||||
@@ -72,7 +72,7 @@ testouterr_cmd_re sh {ml state} OK $tserr
|
||||
set tserr "$vers_reportre
|
||||
|
||||
$state_header
|
||||
supported_shells\\s+sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r"
|
||||
supported_shells\\s+sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r pwsh"
|
||||
testouterr_cmd_re sh {state supported_shells} OK $tserr
|
||||
|
||||
# pre-registered state
|
||||
|
||||
Reference in New Issue
Block a user