Skip to content

Commit

Permalink
tests: Ignore fields as required on Ubuntu 24.10
Browse files Browse the repository at this point in the history
Recent versions of glibc adjusted the fields in `statvfs`. Update tests
to ignore the differences.
  • Loading branch information
tgross35 committed Nov 20, 2024
1 parent 9830960 commit 2d206ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4496,7 +4496,10 @@ fn test_linux(target: &str) {
// `handle` is a VLA
(struct_ == "fanotify_event_info_fid" && field == "handle") ||
// invalid application of 'sizeof' to incomplete type 'long unsigned int[]'
(musl && struct_ == "mcontext_t" && field == "__extcontext" && loongarch64)
(musl && struct_ == "mcontext_t" && field == "__extcontext" && loongarch64) ||
// FIXME(#4121): a new field was added from `f_spare`
(struct_ == "statvfs" && field == "__f_spare") ||
(struct_ == "statvfs64" && field == "__f_spare")
});

cfg.skip_roundtrip(move |s| match s {
Expand Down

0 comments on commit 2d206ec

Please sign in to comment.