Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • lib
  • test_bitmap.c
Find file BlameHistoryPermalink
  • Alexander Lobakin's avatar
    lib/test_bitmap: test the tail after bitmap_to_arr64() · 30fd8cdf
    Alexander Lobakin authored Jul 11, 2022
    
    
    Currently, test_bitmap_arr64() only tests bitmap_to_arr64()'s sanity
    by comparing the result of double-conversion (bm -> arr64 -> bm2)
    with the input bitmap. However, this may be not enough when one side
    hides bugs of the second one (e.g. tail clearing, which is being
    performed by both).
    Expand the tests and check the tail of the actual arr64 used as
    a temporary buffer for double-converting.
    
    Signed-off-by: default avatarAlexander Lobakin <alexandr.lobakin@intel.com>
    Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
    Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
    30fd8cdf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7