-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d53ae7
commit 1ac6bd2
Showing
3 changed files
with
565 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#%Module | ||
module-whatis [module-info name] |
Oops, something went wrong.