Re: [lkp] [string_helpers] 26cfdc920f: kmsg.test_string_helpers:string_get_size(size=#,blk_size=#,units=

From: Vitaly Kuznetsov
Date: Thu Jan 14 2016 - 04:18:05 EST


kernel test robot <ying.huang@xxxxxxxxxxxxxxx> writes:

> FYI, we noticed the below changes on
>
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> commit 26cfdc920f1bb5766ff1493712a4f5a97ee5e484 ("string_helpers: fix precision loss for some inputs")
>
> [ 1.775834] test_string_helpers: Running tests...
> [ 1.775834] test_string_helpers: Running tests...
> [ 1.776987] test_string_helpers: Test 'test_string_get_size_one' failed!
> [ 1.776987] test_string_helpers: Test 'test_string_get_size_one' failed!
> [ 1.778265] test_string_helpers: string_get_size(size = 8192, blk_size = 4096, units = 0
> [ 1.778265] test_string_helpers: string_get_size(size = 8192, blk_size = 4096, units = 0
> [ 1.779732] test_string_helpers: expected: '32.7 MB', got '33.6 MB'
> [ 1.779732] test_string_helpers: expected: '32.7 MB', got '33.6 MB'

Yes, there was a patch updating tests in my series but apparently James's
solution got merged without it. I'll dig it out and send.

--
Vitaly