From 3bd3573dbb97ee41361e9fc5625af3ccf4cd732f Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Thu, 19 Jun 2014 13:50:57 -0700 Subject: [PATCH] parser: fix unit test for \\ quoting in r2537 The change to processing escape sequences in trunk commit r2537 requires a corresponding change to the unit tests in parser_misc.c. Signed-off-by: Steve Beattie Acked-by: John Johansen --- parser/parser_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/parser_misc.c b/parser/parser_misc.c index 902455500..b466678da 100644 --- a/parser/parser_misc.c +++ b/parser/parser_misc.c @@ -1352,7 +1352,7 @@ int test_processquoted(void) free(out); teststring = "\"a\\\\bcdefg\""; - processedstring = "a\\bcdefg"; + processedstring = "a\\\\bcdefg"; out = processquoted(teststring, strlen(teststring)); MY_TEST(strcmp(processedstring, out) == 0, "processquoted on quoted slash");