Define a new TEST_MEMCMP() macro for comparing two memory regions, and use it and TEST_STR() to improve the output from test failures in lib/util/tests/stringutils-test.c.
Richard Hansen (3): new TEST_MEMCMP() macro to compare memory regions use new TEST_MEMCMP() in stringutils-test.c use TEST_STR() in stringutils-test.c lib/test/unittest.h | 54 +++++++++++++++++++++++++++++++++++++++ lib/util/tests/stringutils-test.c | 6 ++--- 2 files changed, 57 insertions(+), 3 deletions(-) -- 2.4.3 ------------------------------------------------------------------------------ _______________________________________________ rpstir-devel mailing list rpstir-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpstir-devel