commit | ecd4f9d125fa58898dd7c4811e854e3d52146d1f | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Tue Apr 07 14:25:39 2015 +1000 |
committer | David Gibson <david@gibson.dropbear.id.au> | Tue Apr 07 14:25:39 2015 +1000 |
tree | cf0181fccbab09fe645769eb575a2ee5b67ae9b7 | |
parent | 5fa047f498170496c37a9d5842d3b7eaf3907cca [diff] |
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: David Gibson <david@gibson.dropbear.id.au>