blob: 53ee1b944d81164d9225165f3cf873fbc5e7a81c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# file : libbuild2/build/script/parser+exit.test.testscript
# license : MIT; see accompanying LICENSE file
: eq
:
$* <<EOI >>EOO
cmd == 1
EOI
cmd == 1
EOO
: ne
:
$* <<EOI >>EOO
cmd!=1
EOI
cmd != 1
EOO
: end
:
$* <<EOI 2>>EOE != 0
cmd != 1 <"foo"
EOI
buildfile:11:10: error: expected newline instead of '<'
EOE
|