github linux-test-project/ltp 20240524
LTP 20240524

latest release: 20240930
7 months ago

NOTABLE CHANGES

  • New tests

    • mlock05 Test for pre-faulting locked memory
    • kvm_svm04 Functional test for VMSAVE/VMLOAD instructions
    • arch_prctl01 Test for ARCH_SET_CPUID and ARCH_GET_CPUID
    • kallsyms A test to check that it's impossible to read kernel memory from userspace
    • unlink09 Negative tests for unlink()
    • getrandom05 Negative tests for getrandom()
    • gethostname02 Negative tests for gethostname()
    • splice08 Test for splicing from /dev/zero and /dev/full
    • splice09 Test for splicing to /dev/zero and /dev/null
    • shmat04 A regression test for fc0c8f9089c2
      ("mm, mmap: fix vma_merge() case 7 with vma_ops->close")
    • aslr01 Tests that hugepages, that cause addesses to be aligned to higher
      order of 2, are not used for libraries when ASLR is enabled.
  • Increased coverage

    • getsockname01 More negative testcases
    • getsockopt01 More negative testcases
    • bind01 More negative testcases
    • swapon01 Runs on all supported filesystems now
    • waitpid01 Tests all deadly signals now
    • fanotify01 Tests setting two marks on different filesystems
  • Rewritten tests

    • msgstress testcases were rewritten into a single msgstress01 test
      this should finally fix the test to scale well from small embedded boards
      towards big servers

    • symlink01 has been split into several testcases, previously several different
      testcases were build from the source based on different messy ifdefs

  • UCLINUX support was completely removed from LTP

    It was unmaintained and partially broken and nobody stepped up to maintain
    the support.

  • Small runtest files cleanup

    • runtest/io was merged into ltp-aiodio.part4
    • runtest/cap_bounds and runtest/filecaps were merged into single runtest file
  • 32 testcases were converted to the new test library

  • The usual amount of fixes and cleanups

NOTABLE CHANGES IN NETWORK TESTS

brought to you by Petr Vorel

  • New tests

    • nfs09 Regression test for file truncation on NFS.
  • Increased coverage

    • nfsstat01.sh: Add support for NFSv4*
  • Removed tests

    • clockdiff01.sh Testing clockdiff is not relevant nowadays.
    • telnet01.sh Testing telnet not make sense nowadays, remove it.
    • xinetd_tests.sh Testing xinetd is not relevant nowadays.
    • host01.sh The test does not work in all cases since testing host require
      proper DNS setup or internet connection. Rather than fixing this
      it makes sense to remove the test.

New documentation

We have finally started working on a comprehensive documentation for LTP and
it's test library, the current state can be seen at:

https://linux-test-project.readthedocs.io/en/latest/

DOWNLOAD AND LINKS

The latest version of the test-suite contains 3000+ tests for the Linux
and can be downloaded at:

https://github.com/linux-test-project/ltp/releases/tag/20240524

The project pages as well as GIT repository are hosted on GitHub:

https://github.com/linux-test-project/ltp

If you ever wondered how to write a LTP testcase, don't miss our developer
documentation at:

https://linux-test-project.readthedocs.io/en/latest/developers/test_case_tutorial.html

And our library API documentation at:

https://linux-test-project.readthedocs.io/en/latest/developers/api_c_tests.html

Patches, new tests, bugs, comments or questions should go to to our mailing
list at ltp@lists.linux.it.

CREDITS

Many thanks to the people contributing to this release:

git shortlog -s -e -n 20240129..

140  Petr Vorel <pvorel@suse.cz>
22  Martin Doucha <mdoucha@suse.cz>
25  Yang Xu <xuyang2018.jy@fujitsu.com>
21  Li Wang <liwang@redhat.com>
16  Andrea Cervesato <andrea.cervesato@suse.com>
15  Andrea Manzini <andrea.manzini@suse.com>
14  Wei Gao <wegao@suse.com>
10  Cyril Hrubis <chrubis@suse.cz>
 5  Avinesh Kumar <akumar@suse.de>
 2  Detlef Riekenberg <wine.dev@web.de>
 2  Edward Liaw <edliaw@google.com>
 4  Hui Min Mina Chou <minachou@andestech.com>
 2  lufei <lufei@uniontech.com>
 1  Amir Goldstein <amir73il@gmail.com>
 1  Dennis Brendel <dbrendel@redhat.com>
 1  Filippo Storniolo <fstornio@redhat.com>
 1  Jan Stancek <jstancek@redhat.com>
 1  Khem Raj <raj.khem@gmail.com>
 1  Mete Durlu <meted@linux.ibm.com>
 1  Murphy Zhou <jencce.kernel@gmail.com>
 1  Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
 1  Sebastian Chlad <sebastianchlad@gmail.com>
 1  Sergey Ulanov via ltp <ltp@lists.linux.it>
 1  Shiyang Ruan <ruansy.fnst@fujitsu.com>
 1  Wenjie Xu <xuwenjie04@baidu.com>

And also thanks to patch reviewers:

git log 20240129.. | grep -Ei '(reviewed|acked)-by:' | sed 's/.*by: //' | sort | uniq -c | sort -n -r

125 Petr Vorel <pvorel@suse.cz>
  94 Cyril Hrubis <chrubis@suse.cz>
  31 Li Wang <liwang@redhat.com>
  15 Andrea Cervesato <andrea.cervesato@suse.com>
  12 Martin Doucha <mdoucha@suse.cz>
  11 Avinesh Kumar <akumar@suse.de>
   7 Jan Stancek <jstancek@redhat.com>
   3 Marius Kittler <mkittler@suse.de>
   3 Jan Kara <jack@suse.cz>
   2 Amir Goldstein <amir73il@gmail.com>
   1 Wei Gao <wegao@suse.com>
   1 Vlastimil Babka <vbabka@suse.cz>
   1 Richard Palethorpe <rpalethorpe@suse.com>
   1 Matt Bobrowski <mattbobrowski@google.com>
   1 Kent Overstreet <kent.overstreet@linux.dev>
   1 Joerg Vehlow <joerg.vehlow@aox.de>

Don't miss a new ltp release

NewReleases is sending notifications on new releases.