From 286c2ec04f212b0b87fbac6ca184c86029f7c41b Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Mon, 18 Feb 2019 16:05:51 +0100 Subject: [PATCH] Added valgrind memory leak tests in testmem.sh for cli and netconf --- CHANGELOG.md | 1 + apps/cli/cli_main.c | 4 ---- test/README.md | 46 ++++++++++++++++++----------------- test/clixon.supp | 29 +++++++++++++++++++++++ test/lib.sh | 33 ++++++++++++++++++++++---- test/mem.sh | 58 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 140 insertions(+), 31 deletions(-) create mode 100644 test/clixon.supp create mode 100755 test/mem.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 6eafdb67..e95772ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -135,6 +135,7 @@ * Replaced all calls to (obsolete) `cli_output` with `fprintf` * Added _experimental_ config option `CLICON_CLI_UTF8` default set to 0. * CLIgen UTF8 does not work with scrolling and control editing +* Added valgrind memory leak tests in testmem.sh for cli and netconf * Added `make test` from top-level Makefile * Added `xml_rootchild_node()` lib function as variant of `xml_rootchild()` * Added -o "