summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/forloop.exp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/unit-tests/forloop.exp')
-rw-r--r--devel/bmake/files/unit-tests/forloop.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/bmake/files/unit-tests/forloop.exp b/devel/bmake/files/unit-tests/forloop.exp
index df14b751224..99845619073 100644
--- a/devel/bmake/files/unit-tests/forloop.exp
+++ b/devel/bmake/files/unit-tests/forloop.exp
@@ -7,12 +7,13 @@ x=-I"This or that"
x=-Ithat
x="-DTHIS=\"this and that\""
cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
+newline-item=(a)
a=one b="two and three"
a=four b="five"
a=ONE b="TWO AND THREE"
a=FOUR b="FIVE"
We expect an error next:
-make: "forloop.mk" line 38: Wrong number of words (9) in .for substitution list with 2 vars
+make: "forloop.mk" line 46: Wrong number of words (9) in .for substitution list with 2 vars
make: Fatal errors encountered -- cannot continue
make: stopped in unit-tests
OK