dm: test: usb: Add tests for the 'usb tree' command
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:48:01 +0000 (23:48 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:52 +0000 (20:27 -0700)
commit431cbd6d8243c2ebae473deabba788666d65c674
treef371337d3c7fae6c0df35336b942324f10afa8cd
parenteae11bece69a277a25fefe54ea475ba02ede687e
dm: test: usb: Add tests for the 'usb tree' command

Add tests that this command produces the right output, even when a rescan
results in a device disappearing from the bus.

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