From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 30 May 2014 13:18:27 -0600 Subject: [U-Boot] Command unit test failure? In-Reply-To: References: Message-ID: <5388D983.5010805@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/30/2014 12:07 PM, Simon Glass wrote: > Hi Stephen, > > I am seeing the failure below when I run the unit tests. I noticed it > a while ago but thought I might be doing something wrong. Any ideas? git bisect says: > git bisect bad > 95fac6ab4589ec0767b1eac662577866e2b2f423 is the first bad commit > commit 95fac6ab4589ec0767b1eac662577866e2b2f423 > Author: Simon Glass > Date: Thu Feb 27 13:25:58 2014 -0700 > > sandbox: Use os functions to read host device tree > > At present we use U-Boot's filesystem layer to read the sandbox device tree, > but this is problematic since it relies on a temporary feauture added > there. Since we plan to implement proper block layer support for sandbox, > change this code to use the os layer functions instead. Also use the new > fdt_create_empty_tree() instead of our own code. > > Signed-off-by: Simon Glass > > :040000 040000 02b649e6f0c3f84f8aff31938ec869ec6ccd964c 1d48977cfbcbb855b2ee2de2bd20b43a39db7837 M common > :040000 040000 7982835c46f491ed54f289b79f2ad1567e8f135b a543335107459fb1a759b262573904fd18b8c683 M disk No doubt the change to disk/part.c in that commit broke the syntax "host - $filename" for the "sb save" and "test -e" commands. Is there some alternate syntax that sandbox should use to access the filesystem, and hence the unit test commands should be using?