[PATCH v1 2/2] libubox: tests: add more blobmsg/json test cases

Petr Štetiar ynezz at true.cz
Sun Mar 7 10:30:28 GMT 2021


Peter Seiderer <ps.report at gmx.net> [2021-03-06 11:54:50]:

Hi,

nice, just a small nitpicks, these seems fine:

> +  int8_max: 127
> +  int8_min: -128

...

but the outputs bellow looks suspicious:

> +  [*] blobmsg from json:

...

> +  int8_max: 1
> +  int8_min: 1

...

> +  [*] blobmsg from json/cast_u64:

...

> +  int8_max: 1
> +  int8_min: 1

...

> +  [*] blobmsg from json/cast_s64:

...

> +  int8_max: 1
> +  int8_min: 1

Cheers,

Petr



More information about the openwrt-devel mailing list