1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-04-10 00:40:00 +02:00
Files
u-boot-megous/test
Marek Vasut 4e22e12e3f test: cmd: fdt: Test fdt get name
Add 'fdt get name' test which works as follows:
- Create fuller FDT, map it to sysmem
- Get name of / node 0, 1 and /clk-test node 0
- Compare output and validate the node name
- Get name of / node 2 and /clk-test node 1
- Compare output and validate the node is not present
- Get name of / node -1 and /clk-test node -1
- Compare output and validate the node name equals node 0 name
- Check nonexistent node, verify the command errors out

The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-03-09 08:50:48 -08:00
..
2023-02-06 13:04:53 -05:00
2023-03-09 08:50:48 -08:00
2023-02-23 13:29:20 -05:00
2023-02-06 17:10:15 -05:00
2022-08-10 13:38:30 -04:00
2022-10-21 21:37:47 -04:00