Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statvfs test always fails on btrfs #103

Open
GabrielRavier opened this issue Apr 15, 2023 · 0 comments
Open

statvfs test always fails on btrfs #103

GabrielRavier opened this issue Apr 15, 2023 · 0 comments

Comments

@GabrielRavier
Copy link

running make check on my machine fails with:

$ make check
o//blink/blink third_party/libc-test/bin/2/regression/statvfs.elf
src/regression/statvfs.c:26: / has 0 file nodes
make: *** [third_party/libc-test/libc-test.mk:21: o//third_party/libc-test/bin/2/regression/statvfs.elf.ok] Error 1

...but the statvfs.elf tests fail even without using blink:

$ third_party/libc-test/bin/2/regression/statvfs.elf
src/regression/statvfs.c:26: / has 0 file nodes

, which appears to be caused by my root filesystem using btrfs, which always returns 0 for f_files and f_free on statfs calls.

@GabrielRavier GabrielRavier changed the title statvfs test always fail on btrfs statvfs test always fails on btrfs Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant