dm: core: Add tests for stringlist functions
authorSimon Glass <sjg@chromium.org>
Sat, 23 Oct 2021 23:26:04 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000 (16:51 -0700)
commitfb933d070eb00274bb7e041cae98e858208961e2
tree45ed026b30dd9f0a315fc479eaf535dbfb0dba20
parent8ce465e48dce96f027e12fcca659060834c0a9e8
dm: core: Add tests for stringlist functions

These functions currently lack tests so add some. The error handling
differs betwee livetree and flattree at present, so only check the error
codes with livetree.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/dm/ofnode.c