Debian Codegraph @

tests/f/broadcast/04-empty/flow.cylc

raw
1 [meta]
2 title = broadcast empty
3 description = Test broadcast of an empty string
4 [scheduling]
5 [[graph]]
6 R1 = "broadcast => t1"
7 [runtime]
8 [[broadcast]]
9 script = """
10 cylc broadcast -s '[environment]EMPTY=' -p '1' -n 't1' "${CYLC_WORKFLOW_ID}" \
11 | tee 'broadcast.out'
12 diff -u - 'broadcast.out' <<__OUT__
13 Broadcast set:
14 + [${CYLC_TASK_CYCLE_POINT}/t1] [environment]EMPTY=
15 __OUT__
16 """
17 [[t1]]
18 script = """
19 printenv EMPTY | tee 'echo.out'
20 diff -u - 'echo.out' <<<''
21 """
22 [[[environment]]]
23 EMPTY=full