From a28682dc7c6de34428eb680e4d04d887f2d45412 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 14 Dec 2025 10:05:04 +0100 Subject: [PATCH] Darwin regtest: update none ioctl_moans This testcase needs IOCTL_REQUEST_BASE to be set to some bogus value with the platform dependent "no direction" flag set. That flag wasn't being set for Darwin and so the testcase was failing. --- none/tests/ioctl_moans.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/none/tests/ioctl_moans.c b/none/tests/ioctl_moans.c index d350758342..efb7582341 100644 --- a/none/tests/ioctl_moans.c +++ b/none/tests/ioctl_moans.c @@ -13,6 +13,8 @@ #define IOCTL_REQUEST_BASE (0x12345670 | _IOC(_IOC_NONE,0,0,0)) # elif defined(VGO_freebsd) #define IOCTL_REQUEST_BASE (0x12345670 | _IO(0,0)) +# elif defined(VGO_darwin) +#define IOCTL_REQUEST_BASE (0x12345670 | _IOC(IOC_VOID,0,0,0)) # else #define IOCTL_REQUEST_BASE 0x12345670 # endif -- 2.47.3