summaryrefslogtreecommitdiffstats
path: root/tests/ctrl/ctrl_test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-15 20:41:28 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-18 23:05:50 +0000
commit1b8b152e791df579035f7b7c8dd621938f7de3c0 (patch)
tree37bf27eea83fa0dd09c0827bc15308023d39bd5b /tests/ctrl/ctrl_test.c
parentf2c10f108202c350a3c16f49156b11b0cd0dfa96 (diff)
ctrl_test: add two more current parsing bugs to prep for fix
Change-Id: Id11bc326be2f0bc2746a928354e416495a18baf7
Diffstat (limited to 'tests/ctrl/ctrl_test.c')
-rw-r--r--tests/ctrl/ctrl_test.c16
1 files changed, 16 insertions, 0 deletions
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,