1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
#%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]
|