of: Add a testcase for of_find_node_by_path()
Add a testcase for the find_node_by_path() function to make sure it handles all the valid scenarios. Signed-off-by: Grant Likely <grant.likely@linaro.org>
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
|
||||
/ {
|
||||
testcase-data {
|
||||
aliases {
|
||||
testcase-alias = &testcase;
|
||||
};
|
||||
|
||||
testcase: testcase-data {
|
||||
security-password = "password";
|
||||
duplicate-name = "duplicate";
|
||||
duplicate-name { };
|
||||
|
Reference in New Issue
Block a user