projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e365b6
)
test/parser: Allow double-quotes in embedded config
author
Jeremy Kerr
<jk@ozlabs.org>
Tue, 24 Sep 2013 06:09:06 +0000
(14:09 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Tue, 24 Sep 2013 06:09:06 +0000
(14:09 +0800)
We need to escape any double-quotes.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/extract-config.awk
patch
|
blob
|
history
diff --git
a/test/parser/extract-config.awk
b/test/parser/extract-config.awk
index 9c858532282cfc3d2342ce2f89a5f4c5e5de2da4..1ab68afa1bc91109fc3dba9fff149761ba2570d6 100644
(file)
--- a/
test/parser/extract-config.awk
+++ b/
test/parser/extract-config.awk
@@
-17,5
+17,6
@@
BEGIN {
exit
}
{
+ gsub("\"", "\\\"");
print "\t\"" $0 "\\n\""
}