summaryrefslogtreecommitdiff
path: root/tests/path_offset.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path_offset.c')
-rw-r--r--tests/path_offset.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/path_offset.c b/tests/path_offset.c
index bb092f114cab..d3e1f8ebbac0 100644
--- a/tests/path_offset.c
+++ b/tests/path_offset.c
@@ -104,5 +104,9 @@ int main(int argc, char *argv[])
FAIL("Mismatch between subnode_offset (%d) and path_offset (%d)",
subsubnode2_offset, subsubnode2_offset_p);
+ if (subsubnode2_offset2 != subsubnode2_offset2_p)
+ FAIL("Mismatch between subnode_offset (%d) and path_offset (%d)",
+ subsubnode2_offset2, subsubnode2_offset2_p);
+
PASS();
}