summaryrefslogtreecommitdiffstats
path: root/lib/.gitignore
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2016-02-02 16:57:18 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-02-03 08:28:43 -0800
commit72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40 (patch)
tree7ec74e7c5de71f659086228e9498700b4e5f6a27 /lib/.gitignore
parente3ae19535c665771e2c03cdd63df9bc4d6b37941 (diff)
downloadop-kernel-dev-72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40.zip
op-kernel-dev-72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40.tar.gz
lib/test-string_helpers.c: fix and improve string_get_size() tests
Recently added commit 564b026fbd0d ("string_helpers: fix precision loss for some inputs") fixed precision issues for string_get_size() and broke tests. Fix and improve them: test both STRING_UNITS_2 and STRING_UNITS_10 at a time, better failure reporting, test small an huge values. Fixes: 564b026fbd0d28e9 ("string_helpers: fix precision loss for some inputs") Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: James Bottomley <JBottomley@Odin.com> Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud