[Toybox] [PATCH] blkid: adapt tests for util-linux blkid.

enh enh at google.com
Tue Jun 25 13:46:39 PDT 2019


(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(-)



More information about the Toybox mailing list