From fdc3d1ab837a81d27ab10d0bf65f349263870154 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 25 Jan 2017 04:14:07 +0100 Subject: tests: add uninstall_element in testcli Test uninstall_element(). The commandline-specified counter allows isolating memleaks more closely, differentiating one-off vs. repeated leaks. Signed-off-by: David Lamparter --- tests/lib/cli/common_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/cli/common_cli.c') diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index 83196e04aa..104352f516 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -83,7 +83,7 @@ main (int argc, char **argv) vty_init (master); memory_init (); - test_init (); + test_init (argc, argv); vty_stdio (vty_do_exit); -- cgit v1.2.3