de5fe16817
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/device-mapper-multipath#2cf40b2f98808e3533e915c0a204b885d9da5e43
34 lines
879 B
Diff
34 lines
879 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Mon, 11 May 2020 23:43:02 +0200
|
|
Subject: [PATCH] multipath-tools tests/test-lib.c: drop
|
|
__wrap_is_claimed_by_foreign
|
|
|
|
is_claimed_by_foreign() is an inline function and can't be wrapped.
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
tests/test-lib.c | 6 ------
|
|
1 file changed, 6 deletions(-)
|
|
|
|
diff --git a/tests/test-lib.c b/tests/test-lib.c
|
|
index 59275163..00bae58e 100644
|
|
--- a/tests/test-lib.c
|
|
+++ b/tests/test-lib.c
|
|
@@ -56,12 +56,6 @@ int __wrap_execute_program(char *path, char *value, int len)
|
|
return 0;
|
|
}
|
|
|
|
-bool __wrap_is_claimed_by_foreign(struct udev_device *ud)
|
|
-{
|
|
- condlog(5, "%s: %p", __func__, ud);
|
|
- return false;
|
|
-}
|
|
-
|
|
struct udev_list_entry
|
|
*__wrap_udev_device_get_properties_list_entry(struct udev_device *ud)
|
|
{
|
|
--
|
|
2.17.2
|
|
|