Re: Test failure in rszshm
David Gibson <[email protected]> Wed, 3 Feb 2016 00:36:32 +1100
| Newsgroups | org.ozlabs.lists.ccan |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 01, 2016 at 04:15:06PM +0000, Dan Good wrote: > That particular test is asking mmap to create a mapping of size UINT64_MAX > and expecting it to fail with ENOMEM. Are you getting a different > errno? Yes, it seems I'm getting EINVAL. But the EINVAL is coming from the mmap() call, *not* the initial tests in rszshm_mk() which explicitly set EINVAL. But what's *really* weird, is I get it when I run ccanlint directly, but not when it then re-runs the tests under gdb. And as far as I can tell mmap() is getting exactly the same arguments :/. > > On Mon, Feb 1, 2016 at 6:07 AM David Gibson <[email protected]> > wrote: > > > So, for me at least, ccanlint is failing on the rszshm module (and > > therefore make check is failing as well). I only see one commit for > > that module, so I think it must have always been broken. > > > > not ok 13 - rszshm_mk(&t, 4096, NULL, scan) == NULL && errno == ENOMEM > > # Failed test (/home/dwg/src/ccan/ccan/rszshm/test/run.c:main() at > > line 96) > > > > -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ ccan mailing list [email protected] https://lists.ozlabs.org/listinfo/ccan
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWsLDfAAoJEGw4ysog2bOSyBcP+wRBToy76rx3cfK2yw2H7u2N c8cC5LYS+uNMJzkKbsL2Sq+i4MURApiOEvwWyB8QkhPQ81aAvRtaVBMbuxHuUVhU x5bKr+31zk9cdA2iFaMDlDyQF5OR1x0ovXp0Fr2cHOPW93DqGKz1FznGGdHwIZqN Ed60vQxPOrsxmBAsbSWqiwgnfqoKXMowinOTLd5FNpBwxIdIVqnYPWI0KdiZiM62 zuLDdxuNKA0XA3btPneuLqNebyIp4FW1uZkoSw41HS0MYa1p1u4aqDdY2wJrxsQF /6NFDdZtr6zDC+M2Qnf1/HtSfgSt/e4ZHAhJphB9nz/q/qcaoZV3uqJt1KblyWEU qYBvHHeVq08QZzzfFd/WHTMtSeb9u/OI+l9FgK5H5fb6SIsEF5yJ5MtI66dY5v+R dhHbHvsx/cIOC2RLuIJoz/dMO6OuHJtC3650J8ykMz7KYBZDAIlDWRB1ckvXpMzm AWNjD+Lz6Dq/oEVFmNO7Y5VTPkF64O8YuhMSQ/tObZOTNHcZa0iWELzbuke+sfXa EhzeVM9Fo01Ouyp214NyOSIXrvBQb6RMU1EXg1Q+Uw4yPVMFoHCb4fHWyAWjal6d vAVaRc2P+kVL3tUK/+Ys7/dFXr8fTGerHU9S3mJOM8QcScDUPIYAGeqqtzKHvkXA LF5f0wOSfpx/ncXYbutD =KWY8 -----END PGP SIGNATURE-----