fusefs: fix two small bugs in the tests' expectations
These two errors have been present since the tests' introduction. Coincidentally every test (I think there's only one) that cares about that field also works when the field's value is 0. MFC after: 2 weeks
This commit is contained in:
parent
9d4e48aebf
commit
a22a780752
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360829
@ -125,7 +125,7 @@ void expect_getattr(uint64_t ino, mode_t mode, uint64_t attr_valid, int times,
|
|||||||
out.body.attr.attr.mode = mode;
|
out.body.attr.attr.mode = mode;
|
||||||
out.body.attr.attr.size = 0;
|
out.body.attr.attr.size = 0;
|
||||||
out.body.attr.attr.uid = uid;
|
out.body.attr.attr.uid = uid;
|
||||||
out.body.attr.attr.uid = gid;
|
out.body.attr.attr.gid = gid;
|
||||||
out.body.attr.attr_valid = attr_valid;
|
out.body.attr.attr_valid = attr_valid;
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ void expect_getattr(uint64_t ino, mode_t mode, uint64_t attr_valid, int times,
|
|||||||
out.body.attr.attr.mode = mode;
|
out.body.attr.attr.mode = mode;
|
||||||
out.body.attr.attr.size = 0;
|
out.body.attr.attr.size = 0;
|
||||||
out.body.attr.attr.uid = uid;
|
out.body.attr.attr.uid = uid;
|
||||||
out.body.attr.attr.uid = gid;
|
out.body.attr.attr.gid = gid;
|
||||||
out.body.attr.attr_valid = attr_valid;
|
out.body.attr.attr_valid = attr_valid;
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user