summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/include-raw-escape001-echo-vars.sh
blob: 31e8743ddf30798cd282923e7e07e656974bb826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#
# test script containing some variables to show how you can include scripts
# into job template definitions provided you use the include-raw-escaped tag

MSG="hello world"

[[ -n "${MSG}" ]] && {
    # this next section is executed as one
    echo "${MSG}"
    exit 0
}