summaryrefslogtreecommitdiffstats
path: root/src/util/profile/test.ini
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-01-24 02:02:30 +0000
committerTheodore Tso <tytso@mit.edu>1998-01-24 02:02:30 +0000
commit709551961a737844ff3f695632c4d9a449cf89f0 (patch)
treeb1a4c55da48d42ec2a5b69a93ad5b88b904d7593 /src/util/profile/test.ini
parente9d9e8d06f2ccebe6d97ba816d086b8ed0804fe9 (diff)
downloadkrb5-709551961a737844ff3f695632c4d9a449cf89f0.tar.gz
krb5-709551961a737844ff3f695632c4d9a449cf89f0.tar.xz
krb5-709551961a737844ff3f695632c4d9a449cf89f0.zip
prof_parse.c (parse_std_line, parse_quoted_string, need_double_quotes,
output_quoted_string, dump_profile, dump_profile_to_file): Vastly improved the profile parsing; whitespace at the end of lines are now ignored. Added quoted string parsing, complete with backquote processing. Strings which need to be quoted are properly quoted on output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10373 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/test.ini')
-rw-r--r--src/util/profile/test.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util/profile/test.ini b/src/util/profile/test.ini
index 505c4a1d2f..c1c8830aa3 100644
--- a/src/util/profile/test.ini
+++ b/src/util/profile/test.ini
@@ -1,11 +1,12 @@
this is a comment. Everything up to the first square brace is ignored.
[test section 2]
- child_section2 = one
+ test_child = "foo\nbar"
+ child_section2 = "one"
child_section2 = {
child = slick
child = harry
- child = john
+ child = "john\tb "
}
child_section2 = foo
@@ -21,7 +22,7 @@ ATHENA.MIT.EDU = {
[test section 1]
- foo = "bar"
+ foo = "bar "
[test section 2]
quux = "bar"