aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser+variable.test.testscript
blob: 3751a5f452d304d4db707e6a16b3549b9d537c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# file      : libbuild2/test/script/parser+variable.test.testscript
# license   : MIT; see accompanying LICENSE file

: assignment
:
$* <<EOI >>EOO
a = b
echo $a
EOI
echo b
EOO

: empty-name
:
$* <<EOI 2>>EOE != 0
= b
EOI
testscript:1:1: error: missing variable name
EOE