Add tests for the membuf implementation. Signed-off-by: Simon Glass <sjg at chromium.org> --- test/lib/Makefile | 1 + test/lib/membuf.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 240 insertions(+) create mode 100644 test/lib/membuf.c Applied to sjg/master, thanks!