Commit ecd4f9d1 authored by David Gibson's avatar David Gibson
Browse files

Extend path_offset testcase for handling of duplicated separators



Paths with multiple '/' characters in a row (e.g. //somenode//somsubnode),
or trailing '/' characters (e.g. '/somenode/somesubnode/') should be
handled by fdt_path_offset(), and treated as equivalent to
/somenode/somesubnode.

Our current path_offset testcase doesn't check for these cases, so extend
it so it does.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 5fa047f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment