github linux-test-project/ltp 20180118
LTP 20180118

latest releases: 20240129, 20230929, 20230516...
6 years ago

Since the last release 278 patches by 35 authors were merged.

Notable changes for this release include:

  • New tests for:

    • unshare(1) command
    • ioctl07 test for RNDGETENTCNT ioctl()
    • new network MACsec testcases
    • new network IPsec SCTP and DCCP testcases
  • New regression tests for:

    • CVE-2017-5754 aka meltdown
    • CVE-2017-12193 (test add_key04)
    • CVE-2017-15299 and CVE-2017-15951 (test request_key03)
    • CVE-2017-7308 (test setsockopt02)
    • CVE-2016-9604 (test keyctl08)
    • CVE-2017-15537 (test ptrace07)
    • CVE-2017-12192 (test keyctl07)
    • add_key03 regression test for kernel commit 237bbd29f7a0
    • keyctl06 regression test for kernel commit e645016abc80
  • Fixed tests:

    • brk01 (test rewritten from scratch)
    • sigwaitinfo01 (fixed and enabled)
    • openposix aio testcases (uninitialized aiocb)
    • many smaller fixes
  • Removed tests:

    • invalid openposix pthread_barrier_wait_6-1 test
    • tcp_cmds tests for rwho, echo, finger, and rdist.
  • The test library gained support to run a particular test against
    different filesystems including FUSE filesystems such as NTFS or exFAT. The
    mkfs and kernel/FUSE support for a particular filesystem must be in-place
    otherwise the tests will skip it automatically.

    Some of the filesystem specific syscall tests such as fallocate() are
    executed this way now. We also have a new test that fills up filesystem
    using several threads and expects the syscalls to fail gracefully.

  • The fuzzy synchronization library that is used to trigger races mostly in CVE
    testcases was rewritten to use one thread instead of starting a thread on
    each iteration, which is not only faster but also more stable since we
    introduce less random jitter to the timing measurements this way.

  • Various fixes and enhancements for the network testcases.

  • Support for NUMA API older than v2 was dropped from the testcases.

  • The configure script now correctly detects devel libraries on -m32 build.

  • Another large scale cleanup using coccinelle was done on the code base.

    We transformed patterns such as:

    if (scall(...) < 0)
    tst_brkm(TBROK, ...);

    into:

    SAFE_SCALL();

    Which will produce unified and more verbose error reporting in case
    that the call to scall() will fail.

  • The runltp script now lists test skipped by the skipfile parameter as skipped
    in the testrun results, these were missing from it previously.

  • 24 testcases were cleaned up and converted to the new test library

  • The usual amount of fixes all over the code base

Don't miss a new ltp release

NewReleases is sending notifications on new releases.