diff --git a/testsuite/install.00-init/010-environ.exp b/testsuite/install.00-init/010-environ.exp index 828b995e..425ae7b9 100644 --- a/testsuite/install.00-init/010-environ.exp +++ b/testsuite/install.00-init/010-environ.exp @@ -52,6 +52,9 @@ if {[info exists install_quarlist]} { # clean any automated handling mode configuration catch {unset env(MODULES_AUTO_HANDLING)} +# ensure tests are run with implicit requirement enabled +set env(MODULES_IMPLICIT_REQUIREMENT) 1 + # clean any in depth mode configuration catch {unset env(MODULES_AVAIL_INDEPTH)} diff --git a/testsuite/modules.00-init/010-environ.exp b/testsuite/modules.00-init/010-environ.exp index d6ddc2d6..53c1a108 100644 --- a/testsuite/modules.00-init/010-environ.exp +++ b/testsuite/modules.00-init/010-environ.exp @@ -49,6 +49,9 @@ foreach var [array names env] { # clean any automated handling mode configuration catch {unset env(MODULES_AUTO_HANDLING)} +# ensure tests are run with implicit requirement enabled +setenv_var MODULES_IMPLICIT_REQUIREMENT 1 + # clean any in depth mode configuration catch {unset env(MODULES_AVAIL_INDEPTH)} diff --git a/testsuite/modules.70-maint/220-config.exp b/testsuite/modules.70-maint/220-config.exp index 432fb0c4..2fc4205d 100644 --- a/testsuite/modules.70-maint/220-config.exp +++ b/testsuite/modules.70-maint/220-config.exp @@ -24,6 +24,7 @@ unsetenv_var MODULES_VERBOSITY unsetenv_var MODULES_EXTENDED_DEFAULT unsetenv_var MODULES_COLOR +unsetenv_var MODULES_IMPLICIT_REQUIREMENT unsetenv_var MODULERCFILE if {[info exists env(MODULES_ICASE)]} { set saved_icase $env(MODULES_ICASE) @@ -377,6 +378,7 @@ unsetenv_var MODULES_RUNENV_FOO setenv_var MODULES_VERBOSITY normal setenv_var MODULES_EXTENDED_DEFAULT 0 setenv_var MODULES_COLOR never +setenv_var MODULES_IMPLICIT_REQUIREMENT 1 setenv_var MODULERCFILE $env(TESTSUITEDIR)/etc/empty if {[info exists saved_icase]} { setenv_var MODULES_ICASE $saved_icase