linux: Set tst-pidfd-consts unsupported for kernels headers older than 5.10
commit7d3e91ba194cc4b5fe1c9017f3bd77533c123b97
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 2 Jun 2022 11:50:58 +0000 (2 08:50 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 2 Jun 2022 18:43:25 +0000 (2 15:43 -0300)
tree831f5b16423216096ef340568dbee2305282d848
parentbb8887379f59a3efde90569acd47e63e0f6a3863
linux: Set tst-pidfd-consts unsupported for kernels headers older than 5.10

Instead of fail trying to build the compare source file.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Matheus Castanho <msc@linux.ibm.com>
Reviewed-by: Matheus Castanho <msc@linux.ibm.com>
sysdeps/unix/sysv/linux/tst-pidfd-consts.py