diff options
author | Russ White <russ@riw.us> | 2018-06-08 13:39:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 13:39:36 +0200 |
commit | 9eafc8abd74a4d8144c764e0361dbb2a51da91c9 (patch) | |
tree | d9f741613b32425b0204c32d08492a4267b5d4a9 /tests | |
parent | Merge pull request #2347 from gromit1811/pim-connected-nexthop-fix (diff) | |
parent | doc: add docs on | actions, find command (diff) | |
download | frr-9eafc8abd74a4d8144c764e0361dbb2a51da91c9.tar.xz frr-9eafc8abd74a4d8144c764e0361dbb2a51da91c9.zip |
Merge pull request #2298 from qlyoung/pipe-actions-vtysh
*: add support for `|` actions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/cli/test_commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/cli/test_commands.c b/tests/lib/cli/test_commands.c index 48dd99d28..2a8d26317 100644 --- a/tests/lib/cli/test_commands.c +++ b/tests/lib/cli/test_commands.c @@ -130,7 +130,7 @@ static void test_load(void) line[strlen(line) - 1] = '\0'; if (line[0] == '#') continue; - vector_set(test_cmds, XSTRDUP(MTYPE_STRVEC, line)); + vector_set(test_cmds, XSTRDUP(MTYPE_TMP, line)); } } @@ -181,7 +181,7 @@ static void test_terminate(void) vty_terminate(); for (i = 0; i < vector_active(test_cmds); i++) - XFREE(MTYPE_STRVEC, vector_slot(test_cmds, i)); + XFREE(MTYPE_TMP, vector_slot(test_cmds, i)); vector_free(test_cmds); cmd_terminate(); } |