We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 060ab83 + 156b12c commit c07a62dCopy full SHA for c07a62d
tests/user_guide/pre_launch.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
-module() {
+xmodule() {
4
case "$1" in
5
load)
6
export MODULE_TEST_LOADED="1"
@@ -16,6 +16,6 @@ module() {
16
esac
17
}
18
19
-export -f module
+export -f xmodule
20
21
-module load test
+xmodule load test
tests/user_guide/test_prelaunch.py
@@ -11,7 +11,7 @@ def test_user_guide_pre_launch() -> None:
11
with _deploy(Path(script_dir) / 'pre_launch.sh') as pre_launch_sh_path:
12
# START
13
ex = JobExecutor.get_instance('local')
14
- spec = JobSpec('/bin/bash', ['-c', 'module is-loaded test'])
+ spec = JobSpec('/bin/bash', ['-c', 'xmodule is-loaded test'])
15
spec.pre_launch = pre_launch_sh_path
job = Job(spec)
0 commit comments