On Fri, 2018-07-13 at 14:39 -0500, Benjamin Marzinski wrote: > These are tests to validate the filter_* blacklist functions. They > not > only verify that the device is correctly blacklisted/whitelisted, but > they also verify the log messages that are printed out. > > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> > --- > tests/Makefile | 4 +- > tests/blacklist.c | 512 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 515 insertions(+), 1 deletion(-) > create mode 100644 tests/blacklist.c Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> __wrap_dlog() / expect_condlog() are brilliant, maybe we should put them in test-lib.c. -- Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel