From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 1 Oct 2020 10:09:04 -0400 Subject: [PATCH v3 8/9] test/py: allow multi-digit index in in_tree() In-Reply-To: <20200924043418.5355-9-p.yadav@ti.com> References: <20200924043418.5355-1-p.yadav@ti.com> <20200924043418.5355-9-p.yadav@ti.com> Message-ID: <20201001140904.GD14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 24, 2020 at 10:04:17AM +0530, Pratyush Yadav wrote: > When more nodes are added for a uclass the index might go into two or > more digits. This means that there are less spaces printed because they > are used up by the extra digits. Update the regular expression to allow > variable-length spacing between the class name and and index. > > This was discovered when adding a simple_bus node in test.dts made > test_bind_unbind_with_uclass() fail because the index went up to 10. > > Signed-off-by: Pratyush Yadav Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: