libfdt: Fix sw_tree1 testcase

Jon Loeliger jdl at
Wed Nov 7 05:21:51 EST 2007

So, like, the other day David Gibson mumbled:
> Crud, I screwed up and gave you an intermediate version of the patch
> which tried to do the same thing for rw_tree1.  For that to work, I'll
> need to write a dtbs_equal_notordered test.
> Corrected version below.
> libfdt: Fix sw_tree1 testcase
> There is a bug in the sw_tree1 testcase / utility which puts two
> "compatible" properties in one node in the output tree.  This patch
> fixes the bug, and also adds a new test checking that the sw_tree1
> output is equal to test_tree1.dtb as its supposed to be, which should
> catch future errors of this type.
> Signed-off-by: David Gibson <david at>



More information about the Linuxppc-dev mailing list