[dm-devel] [PATCH v2 26/37] multipath-tools tests: add test for ordering of bindings

Martin Wilck mwilck at suse.com
Wed Sep 13 14:05:29 UTC 2023


On Tue, 2023-09-12 at 18:20 -0500, Benjamin Marzinski wrote:
> On Mon, Sep 11, 2023 at 06:38:35PM +0200, mwilck at suse.com wrote:
> > From: Martin Wilck <mwilck at suse.com>
> > 
> > As the assignment of free aliases now relies on the bindings being
> > properly sorted, add some unit tests to make sure the sorting
> > algorithm
> > works.
> 
> On second thought...
> 
> > 
> 
> If you start at 0, fill_bindings_random() will get the WWID ending
> from
> random_numbers[-1].
> 
> -Ben

Oops, thanks for spotting it.

Martin




More information about the dm-devel mailing list