[dm-devel] [PATCH 0/3] Fixes for bitfield unit tests
mwilck at suse.com
mwilck at suse.com
Fri Aug 21 22:42:21 UTC 2020
From: Martin Wilck <mwilck at suse.com>
Hi Christophe, hi Ben,
embarassingly, it turns out that my unit test code for the bitfield
code was broken in various ways, which at the same time shows that
I didn't test this as broadly as I should have before submitting.
The good news is that only the test code was broken, not the
implementation itself.
With these fixes, I successfully compiled it on both little and
big endian architectures, with and without glibc 2.27.
(https://build.opensuse.org/package/show/Base:System/multipath-tools)
Regards,
Martin
Martin Wilck (3):
multipath-tools tests: fix bitfield tests for small fields
multipath-tools tests: fix bitfield tests for big endian
multipath-tools tests: fix small bitfield tests for big endian
tests/util.c | 146 ++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 120 insertions(+), 26 deletions(-)
--
2.28.0
More information about the dm-devel
mailing list