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>
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>>> "socketcall01" status> >> status= "ok" type=exited termination_id=32 corefile=no
tag=socketcall01 stime=1579503819
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:853: CONF: The socketcall() syscall is not supported
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
9e83513eb1b0adc 13e0eb12ab14d39 3b9c4a00ba is the first bad commit 13e0eb12ab14d39 3b9c4a00ba
commit 9e83513eb1b0adc
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>