def METHOD_NAME(a, b, key):
    aval = a[key]
    bval = b[key]
    sys.stderr.write("aval: %r\nbval: %r\n" % (aval, bval))
    # Paths in entries are always relative to /boot
    entry = os.stat(sysroot + "/boot" + aval)
    # Syslinux entries can be relative to /boot (if it's on another filesystem)
    # or relative to / if /boot is on /.
    s1 = os.stat(sysroot + bval)
    s2 = os.stat(sysroot + "/boot" + bval)
    # A symlink ensures that no matter what they point at the same file
    assert_eq(entry, s1)
    assert_eq(entry, s2)