[Toybox] [PATCH] blkid: adapt tests for util-linux blkid.
Rob Landley
rob at landley.net
Tue Jun 25 16:34:28 PDT 2019
Locally I add failing tests as another way of tracking todo items, but don't
check them in.
Send me the test that passes on the host?
Rob
On 6/25/19 3:46 PM, enh via Toybox wrote:
> (not sure what, if anything, you want to do about the missing stuff,
> but i thought that being able to run TEST_HOST is interesting/useful
> in its own right for toybox development. i'm pretty sure that stuff
> like SEC_TYPE is new since i last looked, for example. since Android's
> not using the toybox blkid anyway, i'll just keep moving...)
>
> On Tue, Jun 25, 2019 at 1:42 PM enh <enh at google.com> wrote:
>>
>> util-linux's blkid doesn't support reading from stdin, so move that to
>> being a special toyonly test rather than the default.
>>
>> toybox blkid differs from util-linux in that it doesn't seem to find the
>> LABEL for the checked-in example f2fs file system (the offset is wrong,
>> but also f2fs uses LE16 strings), nor does it support the SEC_TYPE that
>> util-linux blkid shows for several of the test file systems.
>> ---
>> tests/blkid.test | 58 ++++++++++++++++++++++++++----------------------
>> 1 file changed, 31 insertions(+), 27 deletions(-)
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
More information about the Toybox
mailing list