Check-in Number:
|
2256 | |
Date: |
2002-Jul-08 15:45:28 (local)
2002-Jul-08 13:45:28 (UTC) |
User: | rse |
Branch: | |
Comment: |
start of feature checking sample config |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/cfg/sample.cfg 1.2 -> 1.3
--- sample.cfg 2002/07/04 14:51:21 1.2
+++ sample.cfg 2002/07/08 13:45:28 1.3
@@ -1,26 +1,48 @@
##
-## sample.cfg
+## sample.cfg -- Example Feature Testing Configuration
##
-/* now comes
- a C/C++ style block comment ** quux */
+"==== Shell-style EOL comments ====";
+#bar
+ #bar
+foo1; #bar
+foo2;#bar
+foo3#bar # fails
+"foo4"#bar # works again
+;
-foo bar -b --bar -qX --quux=X baz;
-rootdir /; // C++ style EOL comment
-tmpdir /tmp;
-
-directory /foo {
- deny from all;
- allow from { 1.2.3.4; 6.7.8.9 };
- fuck;
- foobar { baz } quux;
-};
-
-directory /foo2 {
- deny from all; # shell-style EOL comment
- allow from { 1.2.3.4; 6.7.8.9 } butnot { 1; 2; 3; };
- fuck;
- foobar { baz } quux "multiline string,\
- without blanks" baz;
-};
+"==== C++-style EOL comments ====";
+//bar
+ //bar
+foo1; //bar
+foo2;//bar
+foo3//bar # fails
+"foo4"//bar # works again
+;
+
+"==== C-style block comments ====";
+/*bar*/
+ /*bar*/
+foo1; /*bar*/
+foo2;/*bar*/
+foo3/*bar*/ # fails
+"foo4"/*bar*/ # works again
+;
+/* a C/C++ style block comment which
+ goes over multiple lines and even includes
+ some special /* ** * / characters */
+
+"==== Single-Quoted Strings ====";
+'foo';
+'foo bar';
+'foo\\bar\'baz';
+'\'';
+
+"==== Double-Quoted Strings ====";
+"foo\r\nbar\r\n";
+"foo\x1bbar\x{011b}baz";
+
+"==== Flexible-Quoted Strings ====";
+foo q{foo{bar{baz}bar}quux} bar;
+foo q{foo{bar{baz}\}bar}quux} bar;
|
|