#%Module if {[info exists env(TESTSUITE_SOURCE_SH)]} { switch -- $env(TESTSUITE_SOURCE_SH) { ignore_bad1 { source-sh --ignore alias } ignore_bad2 { source-sh --ignore } ignore_bad3 { source-sh --ignore bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad4 { source-sh --ignore {foo} bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad5 { source-sh --ignore alias:foo bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad6 { source-sh --ignore foo:bar bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad7 { source-sh --ignore {alias function} bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad8 { source-sh --foo bash testsuite/example/sh-to-mod.sh arg1 } ignore_bad9 { source-sh --ignore alias bash } ignore_pos1 { source-sh bash --ignore envvar:chdir testsuite/example/sh-to-mod.sh } ignore_pos2 { source-sh bash testsuite/example/sh-to-mod.sh --ignore complete } ignore_empty1 { source-sh --ignore {} bash testsuite/example/sh-to-mod.sh arg1 } ignore1 { source-sh --ignore alias bash testsuite/example/sh-to-mod.sh } ignore2 { source-sh --ignore alias:function bash testsuite/example/sh-to-mod.sh arg1 } ignore3 { source-sh --ignore envvar:chdir bash testsuite/example/sh-to-mod.sh } ignore4 { source-sh --ignore complete bash testsuite/example/sh-to-mod.sh } ignore5 { source-sh --ignore alias:envvar:function:complete bash testsuite/example/sh-to-mod.sh } ignore6 { source-sh --ignore chdir:alias:envvar:function:complete bash testsuite/example/sh-to-mod.sh } } } module-whatis [module-info name]