#%Module if {[info exists env(TESTSUITE_HIDE)]} { switch -- $env(TESTSUITE_HIDE) { hide_modulefile_bad1 { hide-modulefile } hide_modulefile_bad2 { hide-modulefile path1 path2 } hide_modulefile1 { hide-modulefile [file dirname $ModulesCurrentModulefile]/1 } hide_modulefile2 { hide-modulefile hide/1 } hide_modulefile3 { hide-modulefile hide } hide_modulefile4 { hide-modulefile hid } hide_version_bad1 { hide-version } hide_version_bad2 { hide-version path1 path2 } hide_version1 { hide-version [file dirname $ModulesCurrentModulefile]/1 } hide_version2 { hide-version hide/1 } hide_version3 { hide-version hide } hide_version4 { hide-version hid } } }