Comment 1 for bug 1860310

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With a git bisect shows this is more likely a test case issue, with older version of LTP, this test will be skipped with:

<<<test_start>>>
tag=socketcall01 stime=1579503819
cmdline="socketcall01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:853: CONF: The socketcall() syscall is not supported
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=32 corefile=no
cutime=0 cstime=0
<<<test_end>>>

9e83513eb1b0adc13e0eb12ab14d393b9c4a00ba is the first bad commit
commit 9e83513eb1b0adc13e0eb12ab14d393b9c4a00ba
Author: Petr Vorel <email address hidden>
Date: Fri Jan 17 12:15:57 2020 +0100

    tst_device.h: Use lapi/syscalls.h instead of <sys/syscall.h>

    As a fallback for old distros which does not define __NR_syncfs
    (the dependency is in the library itself).

    This was needed on SLES 11 (kernel 2.6.32).

    Fixes: 74aeb88c9 ("tst_device: use raw syscall in the tst_device.h")

    Acked-by: Jan Stancek <email address hidden>
    Signed-off-by: Petr Vorel <email address hidden>