[sysprof/wip/chergert/path-resolver] tests: ignore zero inode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/path-resolver] tests: ignore zero inode
- Date: Tue, 21 Sep 2021 23:04:03 +0000 (UTC)
commit f09e378ca0a7d56d15730c8774c44feaac66380b
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 21 16:03:48 2021 -0700
tests: ignore zero inode
src/tests/list-maps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tests/list-maps.c b/src/tests/list-maps.c
index a5c7ef8..357d918 100644
--- a/src/tests/list-maps.c
+++ b/src/tests/list-maps.c
@@ -72,7 +72,7 @@ list_maps (const char *filename)
if (inode == (ino_t)-1)
g_print (" (missing)");
- else if (inode != ev->inode)
+ else if (inode != 0 && inode != ev->inode)
g_print (" (Inode mismatch, expected %lu got %lu)",
(gulong)ev->inode, (gulong)inode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]