]> git.baikalelectronics.ru Git - uboot.git/commit
test: cmd: fdt: Test fdt rm
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 2 Mar 2023 03:08:38 +0000 (04:08 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Mar 2023 16:50:48 +0000 (08:50 -0800)
commit608d0e0c07fa878095265fd0e4af069c3ec1cc88
tree5cdb6e341165c47133f5a74673bfc3fe55f50c5b
parent7f9da04ef25632334a6599208a64ca232fe6b811
test: cmd: fdt: Test fdt rm

Add 'fdt rm' test which works as follows:
- Create fuller FDT, map it to sysmem
- Selectively delete nodes or properties by both path and aliases
- Verify created nodes or properties using fdt print command

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>
test/cmd/fdt.c