aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/test.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/test.rc')
-rw-r--r--src/cmd/rc/test.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/rc/test.rc b/src/cmd/rc/test.rc
index 5c658132..7a83ad17 100644
--- a/src/cmd/rc/test.rc
+++ b/src/cmd/rc/test.rc
@@ -1,5 +1,9 @@
# test for parser
+a
+a b
+a|b
+a | b
{a; b; c}
x=y a && b || c
x=y a | b | c
@@ -63,3 +67,10 @@ x ||
y
x |
y
+switch x {y} && z
+switch x {} | y
+
+OPTIONS=$OPTIONS' /axescount '^`{echo $1 | sed s/-a//}^' def'
+
+# bug in old printfont script - expected more free carats
+# OPTIONS=$OPTIONS' /axescount '`{echo $1 | sed s/-a//}' def'