of/selftest: Add a test for duplicate phandles
authorGrant Likely <grant.likely@linaro.org>
Thu, 2 Oct 2014 12:09:15 +0000 (13:09 +0100)
committerGrant Likely <grant.likely@linaro.org>
Sat, 4 Oct 2014 20:20:19 +0000 (21:20 +0100)
All phandles in the tree should be unique. Add a testcase to make sure
that this is so.

Note: this testcase fails on the current kernel because the selftest
code itself ends up adding duplicate phandles. Before this testcase is
merged the selftest code needs to be modified to resolve phandles before
adding them.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>

No differences found