Skip to content

Commit 2d206ec

Browse files
committed
tests: Ignore fields as required on Ubuntu 24.10
Recent versions of glibc adjusted the fields in `statvfs`. Update tests to ignore the differences.
1 parent 9830960 commit 2d206ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libc-test/build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4496,7 +4496,10 @@ fn test_linux(target: &str) {
44964496
// `handle` is a VLA
44974497
(struct_ == "fanotify_event_info_fid" && field == "handle") ||
44984498
// invalid application of 'sizeof' to incomplete type 'long unsigned int[]'
4499-
(musl && struct_ == "mcontext_t" && field == "__extcontext" && loongarch64)
4499+
(musl && struct_ == "mcontext_t" && field == "__extcontext" && loongarch64) ||
4500+
// FIXME(#4121): a new field was added from `f_spare`
4501+
(struct_ == "statvfs" && field == "__f_spare") ||
4502+
(struct_ == "statvfs64" && field == "__f_spare")
45004503
});
45014504

45024505
cfg.skip_roundtrip(move |s| match s {

0 commit comments

Comments
 (0)