• Linus Torvalds's avatar
    Merge tag 'linux_kselftest-kunit-6.11-rc1' of... · f8d22a31
    Linus Torvalds authored
    Merge tag 'linux_kselftest-kunit-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
    
    Pull KUnit updates from Shuah Khan:
    
     - add vm_mmap() allocation resource manager
    
     - convert usercopy kselftest to KUnit
    
     - disable usercopy testing on !CONFIG_MMU
    
     - add MODULE_DESCRIPTION() to core, list, and usercopy tests
    
     - add tests for assertion formatting functions - assert.c
    
     - introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
    
     - fix KUNIT_ASSERT_STRNEQ comments to make it clear that it is an
       assertion
    
     - rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT
    
    * tag 'linux_kselftest-kunit-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
      kunit: Introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
      kunit: Rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT for readability
      kunit: Fix the comment of KUNIT_ASSERT_STRNEQ as assertion
      kunit: executor: Simplify string allocation handling
      kunit/usercopy: Add missing MODULE_DESCRIPTION()
      kunit/usercopy: Disable testing on !CONFIG_MMU
      usercopy: Convert test_user_copy to KUnit test
      kunit: test: Add vm_mmap() allocation resource manager
      list: test: add the missing MODULE_DESCRIPTION() macro
      kunit: add missing MODULE_DESCRIPTION() macros to core modules
      list: test: remove unused struct 'klist_test_struct'
      kunit: Cover 'assert.c' with tests
    f8d22a31
fork.c 83.7 KB