aboutsummaryrefslogtreecommitdiffstats
path: root/unit-tests/test.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test.exp')
-rw-r--r--unit-tests/test.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/unit-tests/test.exp b/unit-tests/test.exp
index cbb2912a081e..932d84e305a6 100644
--- a/unit-tests/test.exp
+++ b/unit-tests/test.exp
@@ -80,6 +80,24 @@ make: Graph cycles through `cycle.2.98'
make: Graph cycles through `cycle.2.97'
cycle.1.99
cycle.1.99
+x=one
+x="two and three"
+x=four
+x="five"
+x=-I/this
+x=-I"This or that"
+x=-Ithat
+x="-DTHIS=\"this and that\""
+cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
+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" line 38: Wrong number of words (9) in .for substitution list with 2 vars
+make: Fatal errors encountered -- cannot continue
+make: stopped in unit-tests
+OK
.for with :S;... OK
b2af338b
3360ac65