[Zodb-checkins] CVS: Packages/ZConfig/tests/input - simple.conf:1.3
Fred L. Drake, Jr.
fred@zope.com
Wed, 4 Dec 2002 16:20:45 -0500
Update of /cvs-repository/Packages/ZConfig/tests/input
In directory cvs.zope.org:/tmp/cvs-serv10256/tests/input
Modified Files:
simple.conf
Log Message:
Implement the %define directive and $-substitution within values.
Further documentation is needed.
=== Packages/ZConfig/tests/input/simple.conf 1.2 => 1.3 ===
--- Packages/ZConfig/tests/input/simple.conf:1.2 Mon Oct 21 14:59:55 2002
+++ Packages/ZConfig/tests/input/simple.conf Wed Dec 4 16:20:44 2002
@@ -17,3 +17,16 @@
list-2 abc
list-3 abc def ghi
list-4 [ what now? ]
+
+# These test the %define mechanism:
+
+%define dollars $$
+%define empty
+%define name value
+%define twowords two words
+
+getname $name
+getnametwice $name${name}
+getdollars $dollars
+getempty x${empty}y
+getwords abc $twowords def