Re: barebox bug, sh [ -c /dev/nand0.var.ubi.blablablub ] returns |true| even if there is no "blablablub" partition on "var" volume

2019-09-02 Thread Robert Schwebel
Roland, On Mon, Sep 02, 2019 at 12:37:37PM +, Mainz, Roland wrote: > Could you *please* implement test(1) -b/-c ? Since barebox ls(1) is > able to distinguish files from devices it shouldn't be hard, and there > are cases (like our update script) where telling the difference > between file

RE: barebox bug, sh [ -c /dev/nand0.var.ubi.blablablub ] returns |true| even if there is no "blablablub" partition on "var" volume

2019-09-02 Thread Mainz, Roland
Uwe Kleine-König koe...@pengutronix.de> > Subject: Re: barebox bug, sh [ -c /dev/nand0.var.ubi.blablablub ] returns > |true| even if there is no "blablablub" partition on "var" volume > > Hi Roland, > > On Mon, Sep 02, 2019 at 09:40:26AM +, Mainz, R

Re: barebox bug, sh [ -c /dev/nand0.var.ubi.blablablub ] returns |true| even if there is no "blablablub" partition on "var" volume

2019-09-02 Thread Sascha Hauer
Hi Roland, On Mon, Sep 02, 2019 at 09:40:26AM +, Mainz, Roland wrote: > > Hi! > > > > Quick bug report: > > - Version: barebox 2018.05.0-20190221-1-EAG_3.00-gf70df96 #1 Mon Sep 2 > 09:03:05 CEST 2019 > - Hardware: Eckelmann/EAG Quantron > > barebox:/ ls -l

barebox bug, sh [ -c /dev/nand0.var.ubi.blablablub ] returns |true| even if there is no "blablablub" partition on "var" volume

2019-09-02 Thread Mainz, Roland
Hi! Quick bug report: - Version: barebox 2018.05.0-20190221-1-EAG_3.00-gf70df96 #1 Mon Sep 2 09:03:05 CEST 2019 - Hardware: Eckelmann/EAG Quantron Problem: The barebox sh's "test"/"[" shell builtin returns "true" for /dev/nand0.var.ubi.blablablub even if there is no "blablablub"