of: unittest: Check tree matches original after reverting a changeset
authorRob Herring <robh@kernel.org>
Tue, 1 Aug 2023 17:46:29 +0000 (11:46 -0600)
committerRob Herring <robh@kernel.org>
Thu, 24 Aug 2023 01:04:17 +0000 (20:04 -0500)
commit500d45100aa8546a000eef85bba8c2abc7b36e92
treed544810504dc2b25ea8a5547c69c90165251b074
parentb37c60d23df71ae6c09856cab4b853aea11f0615
of: unittest: Check tree matches original after reverting a changeset

Enhance the changeset unittest to ensure after a revert, the tree matches
the original tree before the changeset was applied. Specifically, check an
added node is removed, a removed property is added back, and an updated
property has its original value.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c