From 1b8b152e791df579035f7b7c8dd621938f7de3c0 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 15 Dec 2017 20:41:28 +0100 Subject: ctrl_test: add two more current parsing bugs to prep for fix Change-Id: Id11bc326be2f0bc2746a928354e416495a18baf7 --- tests/ctrl/ctrl_test.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tests/ctrl/ctrl_test.c') diff --git a/tests/ctrl/ctrl_test.c b/tests/ctrl/ctrl_test.c index e25929c2..b1d4f237 100644 --- a/tests/ctrl/ctrl_test.c +++ b/tests/ctrl/ctrl_test.c @@ -154,6 +154,22 @@ static const struct one_test test_messages_list[] = { "ERROR 1 Command not found", }, + { "GET 1 var\ti\table", + { + .type = CTRL_TYPE_GET, + .id = "1", + .variable = "var\ti\table", /* current bug */ + }, + "ERROR 1 Command not found", + }, + { "GET 1 var\ri\rable", + { + .type = CTRL_TYPE_GET, + .id = "1", + .variable = "var\ri\rable", /* current bug */ + }, + "ERROR 1 Command not found", + }, { "GET 1 variable value", { .type = CTRL_TYPE_GET, -- cgit v1.2.3