From: Paul Floyd Date: Sun, 14 Dec 2025 09:05:04 +0000 (+0100) Subject: Darwin regtest: update none ioctl_moans X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a28682dc7c6de34428eb680e4d04d887f2d45412;p=thirdparty%2Fvalgrind.git 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. --- diff --git a/none/tests/ioctl_moans.c b/none/tests/ioctl_moans.c index d35075834..efb758234 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