test/parser: Allow double-quotes in embedded config
[petitboot] / test / parser / extract-config.awk
index 9c858532282cfc3d2342ce2f89a5f4c5e5de2da4..1ab68afa1bc91109fc3dba9fff149761ba2570d6 100644 (file)
@@ -17,5 +17,6 @@ BEGIN {
        exit
 }
 {
+       gsub("\"", "\\\"");
        print "\t\"" $0 "\\n\""
 }