[PATCH 2/3] multipath-tools tests: fix dmevents test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Wilck <mwilck@xxxxxxxx>

The dmevents test needs to be adapted to the ABI change for
remove_map_by_alias().

Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
---
 tests/dmevents.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/dmevents.c b/tests/dmevents.c
index 204cf1d..68c4ad4 100644
--- a/tests/dmevents.c
+++ b/tests/dmevents.c
@@ -323,12 +323,10 @@ int __wrap_poll(struct pollfd *fds, nfds_t nfds, int timeout)
 	return mock_type(int);
 }
 
-void __wrap_remove_map_by_alias(const char *alias, struct vectors * vecs,
-				int purge_vec)
+void __wrap_remove_map_by_alias(const char *alias, struct vectors * vecs)
 {
 	check_expected(alias);
 	assert_ptr_equal(vecs, waiter->vecs);
-	assert_int_equal(purge_vec, 1);
 }
 
 /* pretend update the pretend dm devices. If fail is set, it
-- 
2.33.0


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux