Skip to content

Commit 294d79c

Browse files
committed
ts: test info_extension config option
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent 58cdf69 commit 294d79c

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

testsuite/install.00-init/010-environ.exp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,7 @@ set env(LANG) "C"
200200
# ensure that tests doesn't run with Lmod path order
201201
unsetenv_var MODULES_PATH_ENTRY_REORDER
202202

203+
# clean any module extension config
204+
unsetenv_var MODULES_INFO_EXTENSION
205+
203206
# vim:set tabstop=3 shiftwidth=3 expandtab autoindent:

testsuite/modules.00-init/010-environ.exp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ catch {unset env(MODULE_VERSION_STACK)}
194194
# ensure that tests doesn't run with Lmod path order
195195
unsetenv_var MODULES_PATH_ENTRY_REORDER
196196

197+
# clean any module extension config
198+
unsetenv_var MODULES_INFO_EXTENSION
199+
197200
set env(MODULERCFILE) "$env(TESTSUITEDIR)/etc/empty"
198201
set ORIG_MODULERCFILE $env(MODULERCFILE)
199202
catch {unset env(MODULESHOME)}

testsuite/modules.70-maint/220-config.exp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ array set configdfl [list\
8484
ignored_dirs {CVS RCS SCCS .svn .git .SYNC .sos}\
8585
implicit_default [expr {$install_implicitdefault eq {y}}]\
8686
implicit_requirement [expr {$install_implicitrequirement eq {y}}]\
87+
info_extension 0\
8788
list_output $install_listoutput\
8889
list_terse_output $install_listterseoutput\
8990
locked_configs $install_lockedconfigs\
@@ -153,6 +154,7 @@ array set configvar [list\
153154
ignore_user_rc MODULES_IGNORE_USER_RC\
154155
implicit_default MODULES_IMPLICIT_DEFAULT\
155156
implicit_requirement MODULES_IMPLICIT_REQUIREMENT\
157+
info_extension MODULES_INFO_EXTENSION\
156158
list_output MODULES_LIST_OUTPUT\
157159
list_terse_output MODULES_LIST_TERSE_OUTPUT\
158160
logged_events MODULES_LOGGED_EVENTS\
@@ -213,6 +215,7 @@ array set configvalid [list\
213215
ignore_user_rc {0 1}\
214216
implicit_default {0 1}\
215217
implicit_requirement {0 1}\
218+
info_extension {0 1}\
216219
list_output {header idx variant alias indesym sym tag hidden key}\
217220
list_terse_output {header idx variant alias indesym sym tag hidden key}\
218221
logged_events {auto_eval requested_eval requested_cmd}\

0 commit comments

Comments
 (0)