summaryrefslogtreecommitdiffstats
path: root/tests/008/configfile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-01 20:26:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-10-01 20:26:51 -0700
commitf913686407f54b66a4ae13f7361f45ef66423781 (patch)
tree8a351596de202c301212b2d7154342382f0e3234 /tests/008/configfile
parent10cda159132822dd9c77199409fe09ff9f4d7417 (diff)
downloadtxr-f913686407f54b66a4ae13f7361f45ef66423781.tar.gz
txr-f913686407f54b66a4ae13f7361f45ef66423781.tar.bz2
txr-f913686407f54b66a4ae13f7361f45ef66423781.zip
New test case under tests/008.
* Makefile: Made previous TXR_ARGS for 008 specific to tokenizing test case, and introduced separate TXR_ARGS for this test case. * tests/008/configfile: New file. * tests/008/configfile.expected: New file. * tests/008/configfile.txr: New file.
Diffstat (limited to 'tests/008/configfile')
-rw-r--r--tests/008/configfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/008/configfile b/tests/008/configfile
new file mode 100644
index 00000000..d7400606
--- /dev/null
+++ b/tests/008/configfile
@@ -0,0 +1,28 @@
+# This is a configuration file in standard configuration file format
+#
+# Lines begininning with a hash or a semicolon are ignored by the application
+# program. Blank lines are also ignored by the application program.
+
+# This is the fullname parameter
+FULLNAME Foo Barber
+
+# This is a favourite fruit
+FAVOURITEFRUIT banana
+
+# This is a boolean that should be set
+NEEDSPEELING
+
+# This boolean is commented out
+; SEEDSREMOVED
+
+# Configuration option names are not case sensitive, but configuration parameter
+# data is case sensitive and may be preserved by the application program.
+
+# An optional equals sign can be used to separate configuration parameter data
+# from the option name. This is dropped by the parser.
+
+# A configuration option may take multiple parameters separated by commas.
+# Leading and trailing whitespace around parameter names and parameter data fields
+# are ignored by the application program.
+
+OTHERFAMILY Rhu Barber, Harry Barber