Debian Codegraph @

tests/functional/job-submission/19-platform_select/flow.cylc

raw
1 [meta]
2 purpose = """
3 Test that subshells are handled for platform and host configs.
4 Tasks of the form .*no_subshell act as control runs.
5 """
6
7 [scheduler]
8 UTC mode = True
9 [[events]]
10 abort on stall timeout = True
11 stall timeout = PT0S
12
13 [scheduling]
14 [[dependencies]]
15 R1 = """
16 host_no_subshell
17 localhost_subshell
18 platform_subshell:submit-fail?
19 platform_no_subshell:submit-fail?
20 platform_subshell_empty:submit-fail?
21 platform_subshell_suffix:submit-fail?
22 host_subshell:submit-fail?
23 host_subshell_backticks:submit-fail?
24 """
25
26 [runtime]
27 [[root]]
28 script = true
29
30 [[platform_no_subshell]]
31 platform = improbable platform name
32
33 [[host_no_subshell]]
34 [[[remote]]]
35 host = localhost
36
37 [[platform_subshell]]
38 platform = $(echo "improbable platform name")
39
40 [[platform_subshell_empty]]
41 platform = $(echo "")
42
43 [[platform_subshell_suffix]]
44 platform = prefix-$( echo middle )-suffix
45
46 [[host_subshell]]
47 [[[remote]]]
48 host = $(echo "improbable host name")
49
50 [[host_subshell_backticks]]
51 [[[remote]]]
52 host = `echo "improbable host name"`
53
54 [[localhost_subshell]]
55 [[[remote]]]
56 host = $(echo "localhost4.localdomain4")