[PATCH v6 11/13] tests/semtimedop: Skip tests if __NR_semtimedop isn't defined
Dmitry V. Levin
ldv at altlinux.org
Wed Apr 1 00:04:00 UTC 2020
On Fri, Mar 20, 2020 at 03:09:37PM -0700, Alistair Francis wrote:
> New y2038 safe 32-bit architectures don't have the __NR_semtimedop
> syscall, so let's skip the test.
>
> Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> ---
> tests/semtimedop.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/tests/semtimedop.c b/tests/semtimedop.c
> index 9b929f5b..52122337 100644
> --- a/tests/semtimedop.c
> +++ b/tests/semtimedop.c
> @@ -6,6 +6,9 @@
> */
>
> #include "tests.h"
> +
> +#ifdef __NR_semtimedop
Please #include "scno.h" before this ifdef.
--
ldv
More information about the Strace-devel
mailing list