search for: adad3266

Displaying 2 results from an estimated 2 matches for "adad3266".

2020 Jul 07
2
[nbdkit PATCH] RFC tests: Avoid odd test behavior under NDEBUG
....h> #include <string.h> #include <unistd.h> +#undef NDEBUG /* We want the test to fail even if nbdkit disables assertions */ #include <assert.h> #include "get-current-dir-name.h" diff --git a/common/include/test-isaligned.c b/common/include/test-isaligned.c index adad3266..45415e37 100644 --- a/common/include/test-isaligned.c +++ b/common/include/test-isaligned.c @@ -36,6 +36,7 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> +#undef NDEBUG /* We want the test to fail even if nbdkit disables assertions */ #include <assert.h>...
2020 Jul 07
0
Re: [nbdkit PATCH] RFC tests: Avoid odd test behavior under NDEBUG
...gt; #include <unistd.h> > +#undef NDEBUG /* We want the test to fail even if nbdkit disables assertions */ > #include <assert.h> > > #include "get-current-dir-name.h" > diff --git a/common/include/test-isaligned.c b/common/include/test-isaligned.c > index adad3266..45415e37 100644 > --- a/common/include/test-isaligned.c > +++ b/common/include/test-isaligned.c > @@ -36,6 +36,7 @@ > #include <stdlib.h> > #include <stdint.h> > #include <string.h> > +#undef NDEBUG /* We want the test to fail even if nbdkit disables asser...